/*
Theme Name: MADA
Theme URI: https://mada.local
Author: Mohamed Abozaid
Author URI: https://abozaid.press/
Description: ثيم MADA — تصميم احترافي مخصص مبني بالكامل على محرر المكونات FSE / Gutenberg مع نظام أنيميشن متكامل.
Version: 2.0.4
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 8.1
Text Domain: mada
Tags: full-site-editing, block-patterns, custom-colors, rtl-language-support
*/

/* ==========================================================================
   MADA Design System — Global Variables
   ========================================================================== */
:root {
	--mada-navy: var(--mada-bg);
	--mada-navy-trans: rgba(var(--mada-bg-rgb),0.85);
	--mada-green: var(--mada-accent);
	--mada-green-glow: rgba(var(--mada-accent-rgb),0.25);
	--mada-green-light: var(--mada-accent-hover);
	--deep-teal: #216869;
	--mada-cream: var(--mada-text);
	--accent-coral: #EF5656;
	--accent-orange: #FC7A1E;
	--accent-sky: #4BB3FD;
	--accent-purple: #858AE3;
	--white: var(--mada-text);
	--card-border: rgba(var(--mada-text-rgb),0.09);
	--card-bg-glass: rgba(var(--mada-surface-rgb),0.65);
	--font-primary: var(--wp--preset--font-family--primary-font);
}

/* Accessibility: Skip to Content */
.skip-link {
	position: absolute;
	top: -100px;
	right: 1.5rem;
	background: var(--mada-green);
	color: var(--mada-navy);
	padding: 0.75rem 1.6rem;
	border-radius: 9999px;
	font-weight: 700;
	z-index: 100000;
	transition: top 0.25s ease;
	text-decoration: none;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.skip-link:focus {
	top: 1.5rem;
	outline: 2px solid var(--mada-text);
	outline-offset: 3px;
}

/* Accessibility: Universal High-Contrast Focus Visible Outline */
:focus-visible {
	outline: 2px solid var(--mada-green) !important;
	outline-offset: 3px !important;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
	overflow-x: clip;
}

body {
	overflow-x: clip;
	direction: rtl;
	text-align: right;
	font-family: var(--font-primary);
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.wp-site-blocks {
	padding: 0;
}

.mada-hero-ar {
	--mada-section-bg: var(--wp--preset--color--base);
	--mada-section-text: var(--wp--preset--color--white);
	--mada-section-accent: var(--wp--preset--color--primary);
	--mada-section-accent-bright: var(--wp--preset--color--green-light);
	--mada-section-muted: var(--wp--preset--color--text-soft);
	position: relative;
	isolation: isolate;
	min-height: calc(100vh - 80px);
	padding: var(--wp--preset--spacing--section) var(--wp--preset--spacing--md) var(--wp--preset--spacing--xl);
	overflow: hidden;
	direction: rtl;
	background-color: var(--mada-section-bg);
	background-image:
		linear-gradient(90deg, rgba(var(--mada-surface-rgb),0.92) 0%, rgba(var(--mada-surface-rgb),0.86) 42%, rgba(var(--mada-surface-rgb),0.95) 100%);
	background-position: center;
	background-size: cover;
}

.mada-hero-ar__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(320px, 448px) minmax(420px, 1fr);
	gap: clamp(56px, 9vw, 170px);
	align-items: center;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}

.mada-hero-ar__content {
	text-align: right;
}

.mada-hero-ar__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 28px;
	color: var(--mada-section-accent-bright);
	font-size: 0.92rem;
	font-weight: 600;
}

.mada-hero-ar__eyebrow::before {
	width: 18px;
	height: 10px;
	content: "";
	background: repeating-linear-gradient(
		to bottom,
		var(--mada-section-accent-bright) 0,
		var(--mada-section-accent-bright) 2px,
		transparent 2px,
		transparent 4px
	);
}

.mada-hero-ar__title {
	
	margin: 0;
	color: var(--mada-section-text);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(3.25rem, 6vw, 5.1rem);
	font-weight: 800;
	line-height: 1.6;
	letter-spacing: 0;
}

.mada-hero-ar__title mark {
	color: var(--mada-section-accent-bright);
	background: transparent;
}

.mada-hero-ar__lead {
	max-width: 610px;
	margin: 28px 0 0;
	color: var(--mada-section-muted);
	font-size: clamp(1rem, 1.45vw, 1.18rem);
	line-height: 2;
}

.mada-hero-ar__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 34px;
}

.mada-hero-ar__btn .wp-block-button__link {
	min-width: 184px;
	padding: 20px 38px;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	border-radius: 999px;
}

.mada-hero-ar__btn--primary .wp-block-button__link {
	color: var(--wp--preset--color--dark);
	background: var(--mada-section-accent);
	border: 1px solid var(--mada-section-accent);
}

.mada-hero-ar__btn--ghost .wp-block-button__link {
	color: var(--mada-section-text);
	background: transparent;
	border: 1px solid rgba(142, 184, 204, 0.38);
}

.mada-hero-ar__form {
	box-sizing: border-box;
	width: min(100%, 550px);
	padding: clamp(30px, 4vw, 38px) clamp(24px, 4vw, 34px);
	margin: 0;
	color: var(--mada-section-text);
	background: rgba(47, 78, 94, 0.94);
	border: 1px solid rgba(154, 190, 208, 0.16);
	border-radius: 22px;
	backdrop-filter: blur(14px);
	box-shadow: 0 30px 72px rgba(0, 0, 0, 0.22);
}

.mada-hero-ar__form h2 {
	margin: 0;
	color: #f4ead8;
	font-size: clamp(1.55rem, 2.4vw, 2rem);
	font-weight: 900;
	line-height: 1.2;
	text-align: right;
}

.mada-hero-ar__form-subtitle {
	margin: 8px 0 26px;
	color: rgba(244, 234, 216, 0.9);
	font-size: clamp(0.92rem, 1.35vw, 1.05rem);
	font-weight: 700;
	line-height: 1.6;
	text-align: right;
}

.mada-hero-ar__form label,
.mada-hero-ar__form .wpcf7-form p {
	display: block;
	margin: 0 0 16px;
}

.mada-hero-ar__form .wpcf7-form {
	display: grid;
	gap: 22px;
	margin: 0;
}

.mada-hero-ar__form .wpcf7-form p {
	display: grid;
	gap: 9px;
	margin: 0;
	color: rgba(244, 250, 253, 0.86);
	font-size: 1rem;
	font-weight: 700;
	text-align: right;
}

.mada-hero-ar__form .wpcf7-form br {
	display: none;
}

.mada-hero-ar__form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.mada-hero-ar__form input:not([type="submit"]),
.mada-hero-ar__form .wpcf7-form-control:not(.wpcf7-submit),
.mada-hero-ar__form select,
.mada-hero-ar__form textarea {
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	padding: 0 20px;
	color: var(--mada-section-text);
	font: inherit;
	text-align: right;
	background: rgba(70, 101, 118, 0.78);
	border: 1px solid rgba(185, 214, 228, 0.28);
	border-radius: 10px;
	outline: 0;
	transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.mada-hero-ar__form input:-webkit-autofill,
.mada-hero-ar__form input:-webkit-autofill:hover,
.mada-hero-ar__form input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--mada-section-text);
	box-shadow: 0 0 0 1000px rgb(37, 66, 82) inset;
	caret-color: var(--mada-section-text);
}

.mada-hero-ar__form textarea {
	min-height: 112px;
	padding-block: 16px;
	resize: vertical;
}

.mada-hero-ar__form input::placeholder,
.mada-hero-ar__form textarea::placeholder {
	color: rgba(211, 224, 232, 0.5);
}

.mada-hero-ar__form input:focus,
.mada-hero-ar__form select:focus,
.mada-hero-ar__form textarea:focus {
	background: rgba(75, 110, 128, 0.9);
	border-color: rgba(244, 234, 216, 0.5);
	box-shadow: 0 0 0 4px rgba(244, 234, 216, 0.12);
}

.mada-hero-ar__form button,
.mada-hero-ar__form .wpcf7-submit,
.mada-hero-ar__form input[type="submit"] {
	width: 100%;
	height: 50px;
	margin-top: 20px;
	color: #082432;
	font: inherit;
	font-weight: 800;
	background: #61e600;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.mada-hero-ar__form button:hover,
.mada-hero-ar__form .wpcf7-submit:hover,
.mada-hero-ar__form input[type="submit"]:hover {
	background: #75ff09;
	box-shadow: 0 14px 26px rgba(97, 230, 0, 0.2);
	transform: translateY(-2px);
}

.mada-hero-ar__form .wpcf7-spinner {
	margin: 8px auto 0;
}

.mada-hero-ar__form-column .wpcf7 {
	display: grid;
	box-sizing: border-box;
	width: min(100%, 550px);
	padding: clamp(30px, 4vw, 38px) clamp(24px, 4vw, 34px);
	margin: 0;
	color: var(--mada-section-text);
	background: rgba(47, 78, 94, 0.94);
	border: 1px solid rgba(154, 190, 208, 0.16);
	border-radius: 22px;
	backdrop-filter: blur(14px);
	box-shadow: 0 30px 72px rgba(0, 0, 0, 0.22);
}

.mada-hero-ar__form .wpcf7 {
	display: block;
	width: 100%;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.mada-hero-ar__form-column .wpcf7::before {
	display: block;
	order: 0;
	margin: 0;
	color: #f4ead8;
	content: "احصل على عرض خاص";
	font-size: clamp(1.55rem, 2.4vw, 2rem);
	font-weight: 900;
	line-height: 1.2;
	text-align: right;
}

.mada-hero-ar__form-column .wpcf7::after {
	display: block;
	order: 1;
	margin: 8px 0 26px;
	color: rgba(244, 234, 216, 0.9);
	content: "سجل بياناتك وسنتواصل معك خلال دقائق";
	font-size: clamp(0.92rem, 1.35vw, 1.05rem);
	font-weight: 700;
	line-height: 1.6;
	text-align: right;
}

.mada-hero-ar__form .wpcf7::before,
.mada-hero-ar__form .wpcf7::after {
	display: none;
}

.mada-hero-ar .wpcf7-form {
	display: grid;
	order: 2;
	gap: 22px;
	margin: 0;
}

.mada-hero-ar .wpcf7-form p {
	display: grid;
	gap: 9px;
	margin: 0;
	color: rgba(244, 250, 253, 0.86);
	font-size: 1rem;
	font-weight: 700;
	text-align: right;
}

.mada-hero-ar .wpcf7-form br {
	display: none;
}

.mada-hero-ar .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.mada-hero-ar .wpcf7 input:not([type="submit"]),
.mada-hero-ar .wpcf7 .wpcf7-form-control:not(.wpcf7-submit),
.mada-hero-ar .wpcf7 select,
.mada-hero-ar .wpcf7 textarea {
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	padding: 0 55px;
	color: var(--mada-section-text);
	font: inherit;
	text-align: right;
	background: rgba(70, 101, 118, 0.78);
	border: 1px solid rgba(185, 214, 228, 0.28);
	border-radius: 5px;
	outline: 0;
	transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.mada-hero-ar .wpcf7 input:focus,
.mada-hero-ar .wpcf7 select:focus,
.mada-hero-ar .wpcf7 textarea:focus {
	background: rgba(75, 110, 128, 0.9);
	border-color: rgba(244, 234, 216, 0.5);
	box-shadow: 0 0 0 4px rgba(244, 234, 216, 0.12);
}

.mada-hero-ar .wpcf7 input::placeholder,
.mada-hero-ar .wpcf7 textarea::placeholder {
	color: rgba(211, 224, 232, 0.5);
}

.mada-hero-ar .wpcf7 .wpcf7-submit,
.mada-hero-ar .wpcf7 input[type="submit"] {
	width: 100%;
	height: 50px;
	margin-top: 20px;
	color: #f9f9f9;
	font: inherit;
	font-weight: 800;
	background: #07c1b5;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.mada-hero-ar .wpcf7 .wpcf7-submit:hover,
.mada-hero-ar .wpcf7 input[type="submit"]:hover {
	background: #07e1d2;
	transform: translateY(-2px);
}

.mada-hero-ar__form .wpcf7-response-output {
	margin: 0;
}

.mada-hero-ar__form .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: var(--wp--preset--color--cream-warm);
	font-size: 0.86rem;
}

@media (max-width: 980px) {
	.mada-hero-ar {
		min-height: auto;
		padding-top: var(--wp--preset--spacing--xl);
	}

	.mada-hero-ar__grid {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.mada-hero-ar__form-column {
		order: 2;
	}

	.mada-hero-ar__content {
		order: 1;
	}

	.mada-hero-ar__form,
	.mada-hero-ar__title,
	.mada-hero-ar__lead {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.mada-hero-ar {
		padding-inline: var(--wp--preset--spacing--sm);
	}

	.mada-hero-ar__title {
		font-size: clamp(2.45rem, 13vw, 3.25rem);
	}

	.mada-hero-ar__btn,
	.mada-hero-ar__btn .wp-block-button__link {
		width: 100%;
	}

	.mada-hero-ar__form {
		padding: 24px;
	}
}

.mada-trust-strip-ar {
	position: relative;
	isolation: isolate;
	padding: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--md);
	overflow: hidden;
	direction: rtl;
	background-color: var(--wp--preset--color--base);
	background-image:
		linear-gradient(90deg, rgba(var(--mada-surface-rgb),0.94), rgba(var(--mada-surface-rgb),0.88), rgba(var(--mada-surface-rgb),0.94));
	background-position: center 42%;
	background-size: cover;
}

.mada-trust-strip-ar__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(180px, 1fr));
	gap: var(--wp--preset--spacing--xl);
	align-items: center;
	max-width: var(--wp--style--global--content-size);
	margin-inline: auto;
}

.mada-trust-strip-ar__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 90px;
	text-align: center;
}

.mada-trust-strip-ar__icon {
	display: block;
	width: 31px;
	height: 31px;
	margin-bottom: 18px;
	color: var(--wp--preset--color--green-light);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mada-trust-strip-ar__title {
	margin: 0;
	color: var(--wp--preset--color--secondary);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(1.05rem, 1.55vw, 1.32rem);
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

@media (max-width: 760px) {
	.mada-trust-strip-ar__grid {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--md);
	}

	.mada-trust-strip-ar__item {
		min-height: auto;
	}
}

.mada-about-project-ar {
	position: relative;
	isolation: isolate;
	padding: clamp(84px, 10vw, 126px) 24px clamp(96px, 12vw, 150px);
	overflow: hidden;
	direction: rtl;
	background: var(--wp--preset--color--base);
	border-top: 1px solid rgba(var(--mada-text-rgb),0.08);
}


.mada-about-project-ar__grid {
	display: grid;
	grid-template-columns: minmax(420px, 0.95fr) minmax(420px, 1fr);
	gap: clamp(56px, 8vw, 108px);
	align-items: center;
	max-width: 1260px;
	margin-inline: auto;
}

.mada-about-project-ar__media-column {
	order: 1;
}

.mada-about-project-ar__content {
	order: 2;
	max-width: 620px;
	text-align: right;
}

.mada-about-project-ar__media {
	position: relative;
	margin: 0;
}

.mada-about-project-ar__image {
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.mada-about-project-ar__image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	filter: grayscale(1) brightness(0.55) contrast(1.12);
}

.mada-about-project-ar__area-card {
	position: absolute;
	right: auto;
	bottom: -40px;
	left: -40px;
	box-sizing: border-box;
	min-width: 168px;
	padding: 28px 26px 26px;
	color: var(--wp--preset--color--white);
	text-align: right;
	background: rgba(20, 76, 102, 0.94);
	border: 1px solid rgba(115, 185, 214, 0.28);
	border-radius: 10px;
	box-shadow: 0 22px 42px rgba(0, 0, 0, 0.24);
}

.mada-about-project-ar__area-card div {
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 10px;
	margin-bottom: 12px;
}

.mada-about-project-ar__area-card span {
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(3rem, 4.2vw, 4rem);
	font-weight: 900;
	line-height: 0.9;
}

.mada-about-project-ar__area-card small {
	color: var(--wp--preset--color--text-muted);
	font-size: 1.08rem;
	font-weight: 700;
}

.mada-about-project-ar__area-card p {
	margin: 0;
	color: var(--wp--preset--color--secondary);
	font-size: 0.93rem;
	font-weight: 800;
}

.mada-about-project-ar__eyebrow {
	margin: 0 0 32px;
	color: var(--wp--preset--color--primary);
	font-size: 0.92rem;
	font-weight: 700;
}

.mada-about-project-ar__title {
	max-width: 620px;
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(2.25rem, 4.2vw, 3.25rem);
	font-weight: 900;
	line-height: 1.32;
	letter-spacing: 0;
}

.mada-about-project-ar__text {
	max-width: 620px;
	margin: 32px 0 0;
	color: var(--wp--preset--color--text-soft);
	font-size: clamp(1rem, 1.35vw, 1.16rem);
	line-height: 2.05;
}

.mada-about-project-ar__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(140px, 1fr));
	gap: clamp(42px, 7vw, 96px);
	max-width: 480px;
	margin-top: 60px;
}

.mada-about-project-ar__stat {
	text-align: center;
}

.mada-about-project-ar__stat h3 {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(2.4rem, 4.5vw, 3.35rem);
	font-weight: 900;
	line-height: 1;
}

.mada-about-project-ar__stat p {
	margin: 12px 0 0;
	color: var(--wp--preset--color--text-soft);
	font-size: 1rem;
}

@media (max-width: 980px) {
	.mada-about-project-ar__grid {
		grid-template-columns: 1fr;
	}

	.mada-about-project-ar__media-column {
		order: 2;
	}

	.mada-about-project-ar__content {
		order: 1;
		max-width: none;
	}

	.mada-about-project-ar__text,
	.mada-about-project-ar__title {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.mada-about-project-ar {
		padding-inline: 18px;
	}

	.mada-about-project-ar__image img {
		aspect-ratio: 4 / 5;
	}

	.mada-about-project-ar__area-card {
		right: 18px;
		bottom: -34px;
		left: auto;
		min-width: 148px;
		padding: 22px 20px;
	}

	.mada-about-project-ar__stats {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
		margin-top: 42px;
	}
}

.mada-why-choose-ar {
	position: relative;
	isolation: isolate;
	padding: clamp(82px, 10vw, 122px) 24px clamp(88px, 10vw, 120px);
	overflow: hidden;
	direction: rtl;
	background-image:
		linear-gradient(rgba(var(--mada-surface-rgb),0.92), rgba(var(--mada-surface-rgb),0.88)),
		url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=70");
	background-position: center;
	background-size: cover;
	
}

.mada-why-choose-ar::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: "";
	background:
		radial-gradient(circle at 20% 50%, rgba(var(--mada-text-rgb),0.06), transparent 32%),
		radial-gradient(circle at 82% 35%, rgba(var(--mada-text-rgb),0.05), transparent 30%);
	backdrop-filter: blur(2px);
}

.mada-why-choose-ar__inner {
	max-width: 1280px;
	margin-inline: auto;
}

.mada-why-choose-ar__title {
	position: relative;
	width: fit-content;
	margin: 0 auto clamp(64px, 8vw, 82px);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: 0;
}

.mada-why-choose-ar__title::after {
	position: absolute;
	right: 50%;
	bottom: -24px;
	width: 96px;
	height: 4px;
	content: "";
	background: var(--wp--preset--color--primary);
	transform: translateX(50%);
}

.mada-why-choose-ar__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(22px, 2.3vw, 28px);
	align-items: stretch;
	margin-inline: auto;
}

.mada-why-choose-ar__card {
	box-sizing: border-box;
	min-height: 286px;
	padding: 40px 38px 36px;
	text-align: right;
	background: rgba(29, 64, 80, 0.68);
	border: 1px solid rgba(114, 176, 202, 0.08);
	border-radius: 9px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(9px);
    
}
.mada-why-choose-ar__card:hover{
    border-color: var(--wp--preset--color--green-light);
}
.mada-why-choose-ar__icon {
	display: block;
	width: 39px;
	height: 39px;
	margin-bottom: 34px;
	color: var(--wp--preset--color--green-light);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mada-why-choose-ar__card-title {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(1.25rem, 1.8vw, 1.55rem);
	font-weight: 900;
	line-height: 1.45;
	letter-spacing: 0;
}

.mada-why-choose-ar__text {
	margin: 22px 0 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 1rem;
	line-height: 1.75;
}

@media (max-width: 1100px) {
	.mada-why-choose-ar__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.mada-why-choose-ar {
		padding-inline: 18px;
	}

	.mada-why-choose-ar__grid {
		grid-template-columns: 1fr;
	}

	.mada-why-choose-ar__card {
		min-height: auto;
		padding: 32px 28px;
	}
}

.mada-luxury-units-ar {
	padding: clamp(78px, 9vw, 118px) 24px clamp(90px, 11vw, 128px);
	direction: rtl;
	background: var(--wp--preset--color--base);
}

.mada-luxury-units-ar__inner {
	max-width: 1040px;
	margin-inline: auto;
}

.mada-luxury-units-ar__eyebrow {
	margin: 0 0 10px;
	color: var(--wp--preset--color--primary);
	font-size: 0.78rem;
	font-weight: 800;
}

.mada-luxury-units-ar__title {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(1.75rem, 3.3vw, 2.5rem);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: 0;
}

.mada-luxury-units-ar__lead {
	max-width: 620px;
	margin: 18px auto 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 0.98rem;
	line-height: 1.8;
}

.mada-luxury-units-ar__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 64px;
}

.mada-luxury-units-ar__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--wp--preset--color--secondary);
	border: 1px solid rgba(18, 215, 211, 0.28);
	border-radius: 7px;
}

.mada-luxury-units-ar__card-image {
	margin: 0;
}

.mada-luxury-units-ar__card-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1.42 / 1;
	object-fit: cover;
}

.mada-luxury-units-ar__card-title {
	margin: 20px 20px 10px;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: 1.08rem;
	font-weight: 900;
	line-height: 1.4;
}

.mada-luxury-units-ar__meta,
.mada-luxury-units-ar__feature-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.mada-luxury-units-ar__meta {
	display: grid;
	gap: 8px;
	padding-inline: 20px;
	color: var(--wp--preset--color--text-muted);
	font-size: 0.82rem;
	line-height: 1.5;
}

.mada-luxury-units-ar__meta li,
.mada-luxury-units-ar__feature-list li {
	position: relative;
	padding-right: 18px;
}

.mada-luxury-units-ar__meta li::before,
.mada-luxury-units-ar__feature-list li::before {
	position: absolute;
	top: 0.62em;
	right: 0;
	width: 7px;
	height: 7px;
	content: "";
	border: 1.5px solid var(--wp--preset--color--primary);
	border-radius: 50%;
	transform: translateY(-50%);
}

.mada-luxury-units-ar__meta li:first-child {
	color: var(--wp--preset--color--primary);
	font-weight: 900;
}

.mada-luxury-units-ar__action {
	margin-top: auto;
	padding: 18px 20px 20px;
}

.mada-luxury-units-ar__action .wp-block-button,
.mada-luxury-units-ar__action .wp-block-button__link,
.mada-luxury-units-ar__feature-action .wp-block-button,
.mada-luxury-units-ar__feature-action .wp-block-button__link {
	width: 100%;
}

.mada-luxury-units-ar__action .wp-block-button__link,
.mada-luxury-units-ar__feature-action .wp-block-button__link {
	padding: 12px 18px;
	color: var(--wp--preset--color--white);
	font-size: 0.83rem;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
	background: transparent;
	border: 1px solid rgba(139, 210, 231, 0.35);
	border-radius: 5px;
}

.mada-luxury-units-ar__action--featured .wp-block-button__link {
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--secondary);
	border-color: var(--wp--preset--color--secondary);
}

.mada-luxury-units-ar__feature {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 0;
	margin-top: 20px;
	overflow: hidden;
	background: var(--wp--preset--color--secondary);
	border: 1px solid rgba(139, 210, 231, 0.35);
	border-radius: 7px;
}

.mada-luxury-units-ar__feature-copy {
	box-sizing: border-box;
	padding: clamp(34px, 5vw, 58px) clamp(28px, 5vw, 56px);
}

.mada-luxury-units-ar__badge {
	display: inline-flex;
	margin: 0 0 16px;
	padding: 6px 12px;
	color: var(--wp--preset--color--base);
	font-size: 0.78rem;
	font-weight: 900;
	line-height: 1;
	background: var(--wp--preset--color--secondary);
	border-radius: 999px;
}

.mada-luxury-units-ar__feature-title {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(1.35rem, 2.5vw, 1.9rem);
	font-weight: 900;
	line-height: 1.4;
}

.mada-luxury-units-ar__feature-text {
	margin: 18px 0 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 0.96rem;
	line-height: 1.85;
}

.mada-luxury-units-ar__feature-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 30px;
	margin-top: 28px;
	color: var(--wp--preset--color--text-muted);
	font-size: 0.86rem;
	line-height: 1.55;
}

.mada-luxury-units-ar__feature-action {
	width: 138px;
	margin-top: 30px;
}

.mada-luxury-units-ar__feature-image {
	height: 100%;
	margin: 0;
}

.mada-luxury-units-ar__feature-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 380px;
	object-fit: cover;
}

@media (max-width: 980px) {
	.mada-luxury-units-ar__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mada-luxury-units-ar__feature {
		grid-template-columns: 1fr;
	}

	.mada-luxury-units-ar__feature-image {
		order: -1;
	}
}

@media (max-width: 640px) {
	.mada-luxury-units-ar {
		padding-inline: 18px;
	}

	.mada-luxury-units-ar__cards,
	.mada-luxury-units-ar__feature-list {
		grid-template-columns: 1fr;
	}

	.mada-luxury-units-ar__feature-action {
		width: 100%;
	}
}

.mada-amenities-ar {
	padding: clamp(82px, 10vw, 126px) 24px clamp(88px, 10vw, 122px);
	direction: rtl;
	background: var(--wp--preset--color--base);
}

.mada-amenities-ar__inner {
	max-width: 1080px;
	margin-inline: auto;
}

.mada-amenities-ar__eyebrow {
	margin: 0 0 12px;
	color: var(--wp--preset--color--primary);
	font-size: 0.82rem;
	font-weight: 800;
}

.mada-amenities-ar__title {
	margin: 0 0 clamp(58px, 7vw, 76px);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(1.9rem, 3.3vw, 2.6rem);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: 0;
}

.mada-amenities-ar__layout {
	display: grid;
	grid-template-columns: 1fr 0.98fr;
	gap: 24px;
	align-items: stretch;
}

.mada-amenities-ar__left {
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 24px;
}

.mada-amenities-ar__mini-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
}

.mada-amenities-ar__mini-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 312px;
	padding: 38px 30px;
	text-align: center;
	background: rgba(var(--mada-surface-rgb),0.76);
	border: 1px solid rgba(139, 210, 231, 0.18);
	border-radius: 8px;
}

.mada-amenities-ar__icon {
	display: block;
	width: 48px;
	height: 48px;
	margin-bottom: 28px;
	color: var(--wp--preset--color--primary);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mada-amenities-ar__card-title {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(1.15rem, 1.8vw, 1.45rem);
	font-weight: 900;
	line-height: 1.45;
}

.mada-amenities-ar__text {
	max-width: 245px;
	margin: 14px auto 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 0.96rem;
	line-height: 1.75;
}

.mada-amenities-ar__image-card {
	position: relative;
	isolation: isolate;
	min-height: 310px;
	overflow: hidden;
	background: var(--wp--preset--color--secondary);
	border: 1px solid rgba(139, 210, 231, 0.22);
	border-radius: 8px;
}

.mada-amenities-ar__image-card figure {
	height: 100%;
	margin: 0;
}

.mada-amenities-ar__image-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.68) saturate(0.9);
}

.mada-amenities-ar__image-card::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
	background: linear-gradient(180deg, rgba(var(--mada-surface-rgb),0.14) 0%, rgba(var(--mada-surface-rgb),0.82) 100%);
}

.mada-amenities-ar__image-card--tall {
	min-height: 640px;
}

.mada-amenities-ar__image-card--wide {
	min-height: 310px;
}

.mada-amenities-ar__image-copy {
	position: absolute;
	right: 48px;
	bottom: 42px;
	left: 48px;
	z-index: 2;
	text-align: right;
}

.mada-amenities-ar__image-title {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(1.45rem, 2.8vw, 2.1rem);
	font-weight: 900;
	line-height: 1.35;
}

.mada-amenities-ar__image-text {
	max-width: 520px;
	margin: 16px 0 0;
	color: var(--wp--preset--color--text-soft);
	font-size: 1rem;
	line-height: 1.75;
}

@media (max-width: 980px) {
	.mada-amenities-ar__layout {
		grid-template-columns: 1fr;
	}

	.mada-amenities-ar__image-card--tall {
		min-height: 460px;
	}
}

@media (max-width: 640px) {
	.mada-amenities-ar {
		padding-inline: 18px;
	}

	.mada-amenities-ar__mini-grid {
		grid-template-columns: 1fr;
	}

	.mada-amenities-ar__mini-card {
		min-height: auto;
		padding: 34px 24px;
	}

	.mada-amenities-ar__image-card--tall,
	.mada-amenities-ar__image-card--wide {
		min-height: 380px;
	}

	.mada-amenities-ar__image-copy {
		right: 24px;
		bottom: 28px;
		left: 24px;
	}
}

.mada-masterplan-ar {
	padding: clamp(68px, 8vw, 92px) 24px clamp(80px, 9vw, 110px);
	direction: rtl;
	background: var(--wp--preset--color--base);
}

.mada-masterplan-ar__inner {
	max-width: 1040px;
	margin-inline: auto;
}

.mada-masterplan-ar__title {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: 0;
}

.mada-masterplan-ar__lead {
	max-width: 640px;
	margin: 14px auto 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 0.96rem;
	line-height: 1.75;
}

.mada-masterplan-ar__map {
	position: relative;
	isolation: isolate;
	max-width: 980px;
	margin: clamp(48px, 6vw, 62px) auto 0;
	overflow: hidden;
	background: var(--wp--preset--color--secondary);
	border: 1px solid rgba(139, 210, 231, 0.22);
	border-radius: 8px;
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.mada-masterplan-ar__map::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(var(--mada-surface-rgb),0.08) 0%, rgba(var(--mada-surface-rgb),0.32) 100%),
		radial-gradient(circle at 50% 45%, transparent 0%, rgba(var(--mada-surface-rgb),0.28) 100%);
}

.mada-masterplan-ar__image {
	margin: 0;
}

.mada-masterplan-ar__image img {
	display: block;
	width: 100%;
	aspect-ratio: 1.08 / 1;
	object-fit: cover;
	filter: saturate(0.92) brightness(0.72) contrast(1.05);
}

.mada-masterplan-ar__pin {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--primary);
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(16, 212, 199, 0.55);
	cursor: pointer;
	animation: madaPinPulse 2.4s ease-in-out infinite, madaPinFloat 3.6s ease-in-out infinite;
}

.mada-masterplan-ar__pin-number {
	margin: 0;
	color: var(--wp--preset--color--base);
	font-size: 0.72rem;
	font-weight: 900;
	line-height: 1;
}

.mada-masterplan-ar__pin--one {
	top: 28%;
	left: 34%;
}

.mada-masterplan-ar__pin--two {
	right: 26%;
	bottom: 26%;
	background: var(--wp--preset--color--secondary);
	animation-delay: 0.45s;
}

.mada-masterplan-ar__pin--three {
	top: 45%;
	left: 49%;
	animation-delay: 0.85s;
}

.mada-masterplan-ar__pin--four {
	top: 37%;
	right: 36%;
	background: var(--wp--preset--color--secondary);
	animation-delay: 1.2s;
}

.mada-masterplan-ar__pin:focus-within {
	outline: 2px solid var(--wp--preset--color--white);
	outline-offset: 4px;
}

.mada-masterplan-ar__tooltip {
	position: absolute;
	right: 50%;
	bottom: calc(100% + 16px);
	display: grid;
	width: 210px;
	gap: 7px;
	padding: 16px 18px;
	color: var(--wp--preset--color--white);
	text-align: right;
	pointer-events: none;
	background: rgba(var(--mada-surface-rgb),0.72);
	border: 1px solid rgba(139, 210, 231, 0.32);
	border-radius: 8px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
	backdrop-filter: blur(14px);
	opacity: 0;
	transform: translate(50%, 10px) scale(0.96);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.mada-masterplan-ar__tooltip::after {
	position: absolute;
	right: 50%;
	bottom: -7px;
	width: 14px;
	height: 14px;
	content: "";
	background: rgba(var(--mada-surface-rgb),0.72);
	border-right: 1px solid rgba(139, 210, 231, 0.32);
	border-bottom: 1px solid rgba(139, 210, 231, 0.32);
	transform: translateX(50%) rotate(45deg);
	backdrop-filter: blur(14px);
}

.mada-masterplan-ar__tooltip-title {
	margin: 0;
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: 0.98rem;
	font-weight: 900;
	line-height: 1.4;
}

.mada-masterplan-ar__tooltip-text {
	margin: 0;
	color: var(--wp--preset--color--contrast);
	font-size: 0.86rem;
	line-height: 1.65;
}

.mada-masterplan-ar__pin:hover,
.mada-masterplan-ar__pin:focus-within {
	z-index: 4;
	animation-play-state: paused;
	transform: translateY(-3px) scale(1.08);
}

.mada-masterplan-ar__pin:hover .mada-masterplan-ar__tooltip,
.mada-masterplan-ar__pin:focus-within .mada-masterplan-ar__tooltip {
	opacity: 1;
	transform: translate(50%, 0) scale(1);
}

@keyframes madaPinPulse {
	0% {
		box-shadow: 0 0 0 0 rgba(16, 212, 199, 0.58);
	}
	70% {
		box-shadow: 0 0 0 16px rgba(16, 212, 199, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(16, 212, 199, 0);
	}
}

@keyframes madaPinFloat {
	0%,
	100% {
		margin-top: 0;
	}
	50% {
		margin-top: -8px;
	}
}

@media (max-width: 760px) {
	.mada-masterplan-ar {
		padding-inline: 18px;
	}

	.mada-masterplan-ar__image img {
		aspect-ratio: 4 / 5;
	}

	.mada-masterplan-ar__tooltip {
		width: 174px;
		padding: 14px;
	}

	.mada-masterplan-ar__pin--one {
		top: 28%;
		left: 26%;
	}

	.mada-masterplan-ar__pin--two {
		right: 24%;
		bottom: 24%;
	}
}

.mada-location-ar {
	padding: clamp(86px, 10vw, 132px) 24px;
	direction: rtl;
	background: var(--wp--preset--color--secondary);
	border-top: 1px solid rgba(var(--mada-text-rgb),0.06);
}

.mada-location-ar__grid {
	display: grid;
	grid-template-columns: minmax(430px, 0.95fr) minmax(430px, 1fr);
	gap: clamp(58px, 9vw, 120px);
	align-items: center;
	max-width: 1280px;
	margin-inline: auto;
}

.mada-location-ar__map {
	box-sizing: border-box;
	padding: 12px;
	overflow: hidden;
	background: rgba(16, 60, 78, 0.7);
	border: 1px solid rgba(139, 210, 231, 0.24);
	border-radius: 12px;
	box-shadow: 0 28px 76px rgba(0, 0, 0, 0.22);
}

.mada-location-ar__map svg {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.mada-location-ar__content {
	text-align: right;
}

.mada-location-ar__eyebrow {
	margin: 0 0 30px;
	color: var(--wp--preset--color--primary);
	font-size: 0.92rem;
	font-weight: 800;
}

.mada-location-ar__title {
	max-width: 620px;
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(2.2rem, 4.2vw, 3.35rem);
	font-weight: 900;
	line-height: 1.32;
	letter-spacing: 0;
}

.mada-location-ar__lead {
	max-width: 620px;
	margin: 32px 0 0;
	color: var(--wp--preset--color--text-muted);
	font-size: clamp(1rem, 1.35vw, 1.16rem);
	line-height: 2;
}

.mada-location-ar__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin-top: 58px;
}

.mada-location-ar__card {
	position: relative;
	box-sizing: border-box;
	min-height: 86px;
	padding: 22px 76px 20px 24px;
	text-align: right;
	background: rgba(22, 72, 94, 0.72);
	border: 1px solid rgba(139, 210, 231, 0.16);
	border-radius: 9px;
}

.mada-location-ar__icon {
	position: absolute;
	top: 24px;
	right: 28px;
	width: 28px;
	height: 28px;
	color: var(--wp--preset--color--primary);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mada-location-ar__card-title {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: 1.02rem;
	font-weight: 900;
	line-height: 1.35;
}

.mada-location-ar__card-text {
	margin: 6px 0 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 0.94rem;
	line-height: 1.4;
}

@media (max-width: 980px) {
	.mada-location-ar__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.mada-location-ar {
		padding-inline: 18px;
	}

	.mada-location-ar__cards {
		grid-template-columns: 1fr;
	}

	.mada-location-ar__card {
		padding-left: 20px;
	}
}

.mada-payment-plans-ar {
	padding: clamp(86px, 10vw, 132px) 24px;
	direction: rtl;
	background: var(--wp--preset--color--navy-mid);
}

.mada-payment-plans-ar__grid {
	display: grid;
	grid-template-columns: minmax(420px, 0.94fr) minmax(470px, 1fr);
	gap: clamp(58px, 9vw, 120px);
	align-items: center;
	max-width: 1280px;
	margin-inline: auto;
}

.mada-payment-plans-ar__steps {
	position: relative;
	box-sizing: border-box;
	overflow: hidden;
	padding: clamp(42px, 5vw, 58px);
	background: rgba(27, 88, 116, 0.76);
	border: 1px solid rgba(139, 210, 231, 0.18);
	border-radius: 12px;
	box-shadow: 0 28px 76px rgba(0, 0, 0, 0.18);
}

.mada-payment-plans-ar__steps::before {
	position: absolute;
	top: -92px;
	left: -92px;
	width: 280px;
	height: 280px;
	content: "";
	background: radial-gradient(circle, rgba(16, 212, 199, 0.22), rgba(16, 212, 199, 0));
	pointer-events: none;
}

.mada-payment-plans-ar__steps > * {
	position: relative;
	z-index: 1;
}

.mada-payment-plans-ar__steps-title {
	margin: 0 0 34px;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(1.35rem, 2vw, 1.65rem);
	font-weight: 900;
	line-height: 1.35;
	text-align: right;
}

.mada-payment-plans-ar__step {
	position: relative;
	box-sizing: border-box;
	min-height: 74px;
	padding: 0 76px 28px 0;
	margin-bottom: 28px;
	border-bottom: 1px solid rgba(139, 210, 231, 0.12);
}

.mada-payment-plans-ar__step:last-of-type {
	margin-bottom: 34px;
}

.mada-payment-plans-ar__step-number {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0;
	color: var(--wp--preset--color--primary);
	font-size: 1.05rem;
	font-weight: 900;
	line-height: 1;
	background: rgba(16, 212, 199, 0.16);
	border-radius: 50%;
}

.mada-payment-plans-ar__step-title {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: 1.05rem;
	font-weight: 900;
	line-height: 1.45;
}

.mada-payment-plans-ar__step-text {
	margin: 5px 0 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 0.94rem;
	line-height: 1.6;
}

.mada-payment-plans-ar__cta {
	width: 100%;
	margin-top: 26px;
}

.mada-payment-plans-ar__cta .wp-block-button {
	width: 100%;
}

.mada-payment-plans-ar__cta .wp-block-button__link {
	box-sizing: border-box;
	width: 100%;
	padding: 18px 28px;
	color: var(--wp--preset--color--dark);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: 1.03rem;
	font-weight: 900;
	background: var(--wp--preset--color--primary);
	border-radius: 8px;
	box-shadow: none;
}

.mada-payment-plans-ar__content {
	text-align: right;
}

.mada-payment-plans-ar__title {
	max-width: 650px;
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 900;
	line-height: 1.38;
	letter-spacing: 0;
}

.mada-payment-plans-ar__lead {
	max-width: 680px;
	margin: 26px 0 0;
	color: var(--wp--preset--color--text-muted);
	font-size: clamp(1rem, 1.25vw, 1.12rem);
	line-height: 2;
}

.mada-payment-plans-ar__offers {
	display: grid;
	gap: 24px;
	margin-top: 48px;
}

.mada-payment-plans-ar__offer {
	position: relative;
	box-sizing: border-box;
	min-height: 112px;
	padding: 28px 136px 26px 30px;
	text-align: right;
	background: rgba(34, 93, 122, 0.72);
	border: 1px solid rgba(139, 210, 231, 0.14);
	border-radius: 10px;
}

.mada-payment-plans-ar__offer-badge,
.mada-payment-plans-ar__offer-icon {
	position: absolute;
	top: 50%;
	right: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0;
	color: var(--wp--preset--color--primary);
	font-size: 2rem;
	font-weight: 900;
	line-height: 1;
	background: rgba(16, 212, 199, 0.16);
	border-radius: 50%;
	transform: translateY(-50%);
}

.mada-payment-plans-ar__offer-badge--gold {
	color: var(--wp--preset--color--secondary);
	background: rgba(241, 214, 154, 0.2);
}

.mada-payment-plans-ar__offer-icon {
	box-sizing: border-box;
	padding: 22px;
	color: var(--wp--preset--color--primary);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mada-payment-plans-ar__offer-title {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1.35;
}

.mada-payment-plans-ar__offer-text {
	margin: 8px 0 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 0.98rem;
	line-height: 1.65;
}

@media (max-width: 980px) {
	.mada-payment-plans-ar__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.mada-payment-plans-ar__steps-column {
		order: 2;
	}
}

@media (max-width: 640px) {
	.mada-payment-plans-ar {
		padding-inline: 18px;
	}

	.mada-payment-plans-ar__steps {
		padding: 34px 24px;
	}

	.mada-payment-plans-ar__step {
		padding-right: 62px;
	}

	.mada-payment-plans-ar__offer {
		min-height: auto;
		padding: 112px 24px 24px;
		text-align: center;
	}

	.mada-payment-plans-ar__offer-badge,
	.mada-payment-plans-ar__offer-icon {
		top: 24px;
		right: 50%;
		transform: translateX(50%);
	}
}

.mada-testimonials-ar {
	position: relative;
	padding: clamp(92px, 11vw, 150px) 24px clamp(82px, 9vw, 128px);
	overflow: hidden;
	direction: rtl;
	background: var(--wp--preset--color--base);
}

.mada-testimonials-ar::before {
	position: absolute;
	inset: auto 0 0;
	height: 58%;
	content: "";
	background:
		linear-gradient(180deg, rgba(var(--mada-surface-rgb),0), rgba(var(--mada-surface-rgb),0.92)),
		url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=70") center bottom / cover;
	opacity: 0.16;
	pointer-events: none;
}

.mada-testimonials-ar__inner {
	position: relative;
	z-index: 1;
	max-width: 1840px;
	margin-inline: auto;
}

.mada-testimonials-ar__title {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: 0;
}

.mada-testimonials-ar__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 2.4vw, 34px);
	margin-top: clamp(70px, 8vw, 104px);
}

.mada-testimonials-ar__column {
	min-width: 0;
}

.mada-testimonials-ar__card {
	position: relative;
	box-sizing: border-box;
	min-height: 222px;
	padding: 42px clamp(34px, 3vw, 44px) 34px;
	overflow: hidden;
	text-align: right;
	background: rgba(var(--mada-surface-rgb),0.72);
	border: 1px solid rgba(139, 210, 231, 0.18);
	border-radius: 9px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.mada-testimonials-ar__quote-mark {
	position: absolute;
	top: 22px;
	left: 28px;
	margin: 0;
	color: rgba(139, 210, 231, 0.16);
	font-family: Georgia, serif;
	font-size: clamp(4rem, 5vw, 5.4rem);
	font-weight: 900;
	line-height: 0.8;
}

.mada-testimonials-ar__person {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 20px;
	align-items: center;
	justify-content: flex-start;
	margin: 0;
}

.mada-testimonials-ar__avatar {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	margin: 0;
	overflow: hidden;
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 50%;
	box-shadow: 0 0 0 5px rgba(16, 212, 199, 0.08);
}

.mada-testimonials-ar__avatar img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 50%;
}

.mada-testimonials-ar__person-copy {
	margin: 0;
}

.mada-testimonials-ar__name {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: 1.02rem;
	font-weight: 900;
	line-height: 1.4;
}

.mada-testimonials-ar__role {
	margin: 4px 0 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 0.9rem;
	line-height: 1.35;
}

.mada-testimonials-ar__text {
	margin: 34px 0 0;
	color: var(--wp--preset--color--text-muted);
	font-size: clamp(0.98rem, 1.15vw, 1.08rem);
	line-height: 1.9;
}

@media (max-width: 1100px) {
	.mada-testimonials-ar__cards {
		grid-template-columns: 1fr;
		max-width: 720px;
		margin-inline: auto;
	}
}

@media (max-width: 640px) {
	.mada-testimonials-ar {
		padding-inline: 18px;
	}

	.mada-testimonials-ar__card {
		padding: 34px 24px 28px;
	}

	.mada-testimonials-ar__quote-mark {
		left: 20px;
	}

	.mada-testimonials-ar__person {
		gap: 16px;
	}
}

.mada-gallery-ar {
	padding: clamp(86px, 10vw, 132px) 24px;
	direction: rtl;
	background: var(--wp--preset--color--base);
}

.mada-gallery-ar__inner {
	max-width: 1060px;
	margin-inline: auto;
}

.mada-gallery-ar__eyebrow {
	margin: 0 0 12px;
	color: var(--wp--preset--color--primary);
	font-size: 0.84rem;
	font-weight: 900;
	line-height: 1.4;
}

.mada-gallery-ar__title {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(2rem, 3vw, 2.85rem);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: 0;
}

.mada-gallery-ar__lead {
	max-width: 680px;
	margin: 24px auto 0;
	color: var(--wp--preset--color--text-muted);
	font-size: clamp(0.98rem, 1.2vw, 1.08rem);
	line-height: 1.8;
}

.mada-gallery-ar__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: clamp(56px, 6vw, 72px);
}

.mada-gallery-ar__item {
	position: relative;
	box-sizing: border-box;
	aspect-ratio: 1 / 1;
	width: 100%;
	margin: 0;
	overflow: hidden;
	background: rgba(139, 210, 231, 0.08);
	border: 1px solid rgba(139, 210, 231, 0.12);
	border-radius: 8px;
}

.mada-gallery-ar__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease, filter 0.5s ease;
}

.mada-gallery-ar__item::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(180deg, rgba(var(--mada-surface-rgb),0), rgba(var(--mada-surface-rgb),0.16));
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.mada-gallery-ar__item:hover img {
	filter: saturate(1.08) contrast(1.03);
	transform: scale(1.045);
}

.mada-gallery-ar__item:hover::after {
	opacity: 1;
}

@media (max-width: 980px) {
	.mada-gallery-ar__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 680px;
		margin-inline: auto;
	}
}

@media (max-width: 560px) {
	.mada-gallery-ar {
		padding-inline: 18px;
	}

	.mada-gallery-ar__grid {
		grid-template-columns: 1fr;
		max-width: 360px;
	}
}

.mada-faq-ar {
	padding: clamp(86px, 10vw, 132px) 24px;
	direction: rtl;
	background: var(--wp--preset--color--base);
}

.mada-faq-ar__inner {
	max-width: 740px;
	margin-inline: auto;
}

.mada-faq-ar__eyebrow {
	margin: 0 0 12px;
	color: var(--wp--preset--color--primary);
	font-size: 0.84rem;
	font-weight: 900;
	line-height: 1.4;
}

.mada-faq-ar__title {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: clamp(2rem, 3vw, 2.85rem);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: 0;
}

.mada-faq-ar__tabs {
	gap: 12px;
	margin-top: clamp(42px, 5vw, 58px);
}

.mada-faq-ar__tab .wp-block-button__link {
	padding: 10px 22px;
	color: var(--wp--preset--color--text-muted);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	background: transparent;
	border: 1px solid rgba(139, 210, 231, 0.2);
	border-radius: 999px;
	box-shadow: none;
}

.mada-faq-ar__tab.is-active .wp-block-button__link,
.mada-faq-ar__tab .wp-block-button__link:hover {
	color: var(--wp--preset--color--primary);
	border-color: rgba(16, 212, 199, 0.75);
	background: rgba(16, 212, 199, 0.08);
}

.mada-faq-ar__panels {
	margin-top: 34px;
}

.mada-faq-ar__panel {
	display: grid;
	gap: 16px;
}

.mada-faq-ar.js-ready .mada-faq-ar__panel {
	display: none;
}

.mada-faq-ar.js-ready .mada-faq-ar__panel.is-active {
	display: grid;
}

.mada-faq-ar__item {
	position: relative;
	box-sizing: border-box;
	margin: 0;
	overflow: hidden;
	text-align: right;
	background: rgba(var(--mada-surface-rgb),0.72);
	border: 1px solid rgba(139, 210, 231, 0.18);
	border-radius: 8px;
}

.mada-faq-ar__item summary {
	position: relative;
	display: block;
	padding: 24px 34px 24px 64px;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, sans-serif);
	font-size: 1.04rem;
	font-weight: 900;
	line-height: 1.5;
	cursor: pointer;
	list-style: none;
}

.mada-faq-ar__item summary::-webkit-details-marker {
	display: none;
}

.mada-faq-ar__item summary::after {
	position: absolute;
	top: 50%;
	left: 32px;
	width: 10px;
	height: 10px;
	content: "";
	border-right: 2px solid var(--wp--preset--color--contrast);
	border-bottom: 2px solid var(--wp--preset--color--contrast);
	transform: translateY(-65%) rotate(45deg);
	transition: transform 0.25s ease;
}

.mada-faq-ar__item[open] summary::after {
	transform: translateY(-35%) rotate(225deg);
}

.mada-faq-ar__item p {
	margin: 0;
	padding: 0 34px 26px;
	color: var(--wp--preset--color--text-muted);
	font-size: 0.98rem;
	line-height: 1.85;
}

@media (max-width: 640px) {
	.mada-faq-ar {
		padding-inline: 18px;
	}

	.mada-faq-ar__tab .wp-block-button__link {
		padding-inline: 16px;
		font-size: 0.84rem;
	}

	.mada-faq-ar__item summary {
		padding: 20px 22px 20px 54px;
	}

	.mada-faq-ar__item summary::after {
		left: 24px;
	}

	.mada-faq-ar__item p {
		padding: 0 22px 22px;
	}
}

.mada-header__lang-switcher {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid var(--mada-header-accent, var(--wp--preset--color--primary));
	color: var(--mada-header-accent, var(--wp--preset--color--primary));
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: var(--wp--custom--radius--pill, 50px);
	transition: all 0.3s ease;
	text-transform: uppercase;
	line-height: 1;
	margin-right: 8px;
	background: transparent;
}

.mada-header__lang-switcher:hover {
	background-color: var(--mada-header-accent-hover, var(--wp--preset--color--green-light));
	color: var(--wp--preset--color--dark);
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(16, 212, 199, 0.22);
	box-shadow: 0 4px 10px color-mix(in srgb, var(--mada-header-accent, var(--wp--preset--color--primary)) 22%, transparent);
}

.mada-header__lang-icon {
	flex-shrink: 0;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mada-header__lang-switcher:hover .mada-header__lang-icon {
	transform: rotate(360deg);
}

.mada-header__mobile-lang {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 15px;
}

.mada-header__mobile-lang .mada-header__lang-switcher {
	width: 80%;
	padding: 10px 24px;
	margin-right: 0;
	font-size: 1rem;
	text-align: center;
}

.mada-header--en {
	direction: ltr !important;
}

.mada-header--en .mada-header__inner,
.mada-header--en .mada-header__menu,
.mada-header--en .mada-header__actions,
.mada-header--en .mada-header__social {
	flex-direction: row;
}

.mada-header--en .mada-header__lang-switcher {
	margin-right: 0;
	margin-left: 8px;
}

.mada-header--en .mada-header__mobile {
	right: auto !important;
	left: 0 !important;
	transform: translateX(-100%) !important;
}

.mada-header--en .mada-header__mobile[aria-hidden="false"] {
	transform: translateX(0) !important;
}

.mada-floating-actions {
	position: fixed;
	right: 25px;
	bottom: 25px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	gap: 12px;
	pointer-events: none;
}

.mada-floating-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	color: var(--wp--preset--color--white);
	text-decoration: none;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	pointer-events: auto;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mada-floating-action--scroll-top {
	background-color: var(--wp--preset--color--accent-orange);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
}

.mada-floating-action--scroll-top.mada-floating-action--visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.mada-floating-action--whatsapp {
	background-color: #25d366;
	animation: madaPulseWa 2.5s infinite;
}

.mada-floating-action--phone {
	background-color: #007bff;
}

.mada-floating-action--chat {
	background-color: var(--wp--preset--color--accent-orange);
}

.mada-floating-action:hover,
.mada-floating-action--chat-active {
	transform: translateY(-3px) scale(1.05);
}

@keyframes madaPulseWa {
	0% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
	}
	70% {
		box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
	}
}

.mada-chat-widget {
	position: fixed;
	right: 25px;
	bottom: 95px;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	width: 360px;
	max-width: calc(100vw - 50px);
	height: 480px;
	max-height: calc(100vh - 140px);
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(var(--mada-surface-rgb),0.98), rgba(var(--mada-surface-rgb),0.98)),
		var(--wp--preset--color--dark, #082432);
	border: 1px solid rgba(16, 212, 199, 0.18);
	border-radius: 20px;
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.46);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px) scale(0.95);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mada-chat-widget.mada-chat-widget--active {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0) scale(1) !important;
}

.mada-chat-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background:
		linear-gradient(135deg, rgba(16, 212, 199, 0.18), rgba(var(--mada-surface-rgb),0.94)),
		var(--wp--preset--color--secondary, #0b4f63);
	border-bottom: 1px solid rgba(16, 212, 199, 0.16);
}

.mada-chat-header-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mada-chat-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	font-size: 1.15rem;
	background: rgba(16, 212, 199, 0.12);
	border: 1.5px solid var(--wp--preset--color--accent-orange, #d7b94c);
	border-radius: 50%;
}

.mada-chat-status-wrap {
	display: flex;
	flex-direction: column;
}

.mada-chat-title {
	color: var(--wp--preset--color--white);
	font-size: 0.95rem;
	font-weight: 800;
}

.mada-chat-status {
	display: flex;
	align-items: center;
	gap: 5px;
	color: rgba(var(--mada-text-rgb),0.7);
	font-size: 0.78rem;
}

.status-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	background-color: #25d366;
	border-radius: 50%;
	box-shadow: 0 0 8px #25d366;
}

.mada-chat-close {
	padding: 0;
	color: rgba(244, 250, 253, 0.72);
	font-size: 1.8rem;
	line-height: 1;
	background: transparent;
	border: none;
	cursor: pointer;
}

.mada-chat-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 20px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(16, 212, 199, 0.35) transparent;
}

.mada-chat-welcome {
	padding: 14px 16px;
	margin-top: 0;
	margin-bottom: 20px;
	color: rgba(244, 250, 253, 0.78);
	font-size: 0.88rem;
	line-height: 1.6;
	text-align: right;
	background: rgba(var(--mada-text-rgb),0.035);
	border-right: 3px solid var(--wp--preset--color--accent-orange, #d7b94c);
	border-radius: 10px 4px 4px 10px;
}

.mada-chat-body .wpcf7 form {
	display: grid;
	gap: 14px;
	margin-top: 0;
	text-align: right;
}

.mada-chat-body .wpcf7 form p {
	display: grid;
	gap: 7px;
	margin: 0;
}

.mada-chat-body .wpcf7 form br {
	display: none;
}

.mada-chat-body .wpcf7 form label {
	display: block;
	margin-bottom: 0;
	color: rgba(244, 250, 253, 0.78);
	font-size: 0.88rem;
	font-weight: 700;
}

.mada-chat-body .wpcf7 form input[type="text"],
.mada-chat-body .wpcf7 form input[type="email"],
.mada-chat-body .wpcf7 form input[type="tel"],
.mada-chat-body .wpcf7 form select,
.mada-chat-body .wpcf7 form textarea {
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	min-height: 38px;
	padding: 10px 14px;
	margin-bottom: 0;
	color: var(--wp--preset--color--white);
	font-size: 0.9rem;
	text-align: right;
	background: rgba(var(--mada-text-rgb),0.055);
	border: 1px solid rgba(154, 190, 208, 0.22);
	border-radius: 10px;
	outline: 0;
	transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.mada-chat-body .wpcf7 form input:focus,
.mada-chat-body .wpcf7 form select:focus,
.mada-chat-body .wpcf7 form textarea:focus {
	background: rgba(var(--mada-text-rgb),0.08);
	border-color: rgba(16, 212, 199, 0.5);
	box-shadow: 0 0 0 3px rgba(16, 212, 199, 0.12);
}

.mada-chat-body .wpcf7 form input::placeholder,
.mada-chat-body .wpcf7 form textarea::placeholder {
	color: rgba(244, 250, 253, 0.42);
}

.mada-chat-body .wpcf7 form textarea {
	height: 80px;
	resize: none;
}

.mada-chat-body .wpcf7 form input[type="submit"] {
	width: 100%;
	height: 44px;
	margin-top: 2px;
	color: #082432;
	font-weight: 800;
	background:
		linear-gradient(135deg, var(--wp--preset--color--cream-warm, #f4d77d), var(--wp--preset--color--accent-orange, #d7b94c));
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.mada-chat-body .wpcf7 form input[type="submit"]:hover {
	box-shadow: 0 14px 26px rgba(215, 185, 76, 0.2);
	filter: brightness(1.04);
	transform: translateY(-1px);
}

.mada-chat-body .wpcf7-not-valid-tip {
	margin-top: 5px;
	color: var(--wp--preset--color--cream-warm, #f4d77d);
	font-size: 0.78rem;
}

.mada-chat-body .wpcf7-response-output {
	margin: 8px 0 0;
	padding: 10px 12px;
	color: rgba(244, 250, 253, 0.82);
	border-color: rgba(16, 212, 199, 0.3);
	border-radius: 10px;
}

html[dir="ltr"] .mada-floating-actions,
.mada-header--en ~ .mada-floating-actions {
	right: auto !important;
	left: 25px !important;
}

html[dir="ltr"] .mada-chat-widget,
.mada-header--en ~ .mada-chat-widget {
	right: auto !important;
	left: 25px !important;
	direction: ltr !important;
}

html[dir="ltr"] .mada-chat-widget .mada-chat-welcome,
.mada-header--en ~ .mada-chat-widget .mada-chat-welcome {
	text-align: left !important;
	border-right: none !important;
	border-left: 3px solid var(--wp--preset--color--accent-orange) !important;
}

@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.mada-floating-action--whatsapp {
		animation: none;
	}
}

@media (max-width: 600px) {
	.mada-floating-actions {
		right: 16px;
		bottom: 16px;
	}

	.mada-chat-widget {
		right: 16px;
		bottom: 84px;
		max-width: calc(100vw - 32px);
	}
}

/* Wave divider pattern */
.mada-wave-divider-ar {
	position: relative;
	z-index: 6;
	height: 0;
	min-height: 0;
	padding: 0;
	margin-block: 0;
	overflow: visible;
	pointer-events: none;
	background: transparent;
}

.mada-wave-divider-ar > *,
.mada-wave-divider-ar .wp-block-html {
	height: 0;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	overflow: visible;
}

.mada-wave-divider-ar__canvas {
	position: absolute;
	top: 0;
	inset-inline: 0;
	width: 100%;
	max-width: 100%;
	height: clamp(92px, 9vw, 136px);
	overflow: hidden;
	transform: translateY(-50%);
	-webkit-mask-image:
		linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%),
		linear-gradient(180deg, transparent 0%, #000 32%, #000 68%, transparent 100%);
	mask-image:
		linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%),
		linear-gradient(180deg, transparent 0%, #000 32%, #000 68%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-composite: intersect;
}

.mada-wave-divider-ar__canvas::before,
.mada-wave-divider-ar__canvas::after {
	display: none;
}


.mada-wave-divider-ar__svg {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0.72;
	filter: drop-shadow(0 0 10px rgba(18, 215, 211, 0.08));
}

.mada-wave-divider-ar__swell {
	fill: none;
	stroke: url("#madaWaveGradientMain");
	stroke-linecap: round;
	stroke-linejoin: round;
	transform-origin: center bottom;
}

.mada-wave-divider-ar__swell--back {
	opacity: 0.11;
	stroke-width: 16;
}

.mada-wave-divider-ar__swell--mid {
	opacity: 0.14;
	stroke-width: 10;
}

.mada-wave-divider-ar__swell--front {
	opacity: 0.28;
	stroke-width: 4;
}

.mada-wave-divider-ar__line {
	fill: none;
	stroke: url("#madaWaveGradientGlow");
	stroke-linecap: round;
	stroke-width: 2.2;
}

.mada-wave-divider-ar__line--two {
	opacity: 0.42;
	stroke-width: 1.4;
}

@media (max-width: 700px) {
	.mada-wave-divider-ar {
		height: 0;
		margin-block: 0;
	}

	.mada-wave-divider-ar__canvas {
		height: 82px;
	}
}

/* Site footer */
.mada-site-footer {
	position: relative;
	padding: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--md) 0;
	overflow: hidden;
	color: var(--wp--preset--color--contrast);
	direction: rtl;
	background:
		radial-gradient(circle at 72% 22%, rgba(18, 215, 211, 0.08), transparent 28%),
		linear-gradient(180deg, var(--wp--preset--color--dark) 0%, var(--wp--preset--color--base) 52%, var(--wp--preset--color--dark) 100%);
}

.mada-site-footer::before {
	position: absolute;
	inset: 0;
	pointer-events: none;
	content: "";
	background:
		linear-gradient(90deg, rgba(18, 215, 211, 0), rgba(18, 215, 211, 0.05), rgba(18, 215, 211, 0));
	opacity: 0.9;
}

.mada-site-footer__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(260px, 1.15fr) minmax(180px, 0.65fr) minmax(240px, 0.8fr);
	gap: var(--wp--preset--spacing--xl);
	align-items: start;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}

.mada-site-footer__brand {
	text-align: right;
}

.mada-site-footer__logo {
	margin: 0 0 var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--primary-font, Tajawal, sans-serif);
	font-size: clamp(1.45rem, 2vw, 1.85rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0;
}

.mada-site-footer__description {
	max-width: 420px;
	margin: 0;
	color: var(--wp--preset--color--text-soft);
	font-size: 0.95rem;
	line-height: 1.9;
}

.mada-site-footer__title {
	margin: 0 0 var(--wp--preset--spacing--sm);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--primary-font, Tajawal, sans-serif);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.4;
}

.mada-site-footer__nav {
	display: grid;
	gap: var(--wp--preset--spacing--xs);
	padding: 0;
	margin: 0;
	list-style: none;
}

.mada-site-footer__nav li {
	margin: 0;
}

.mada-site-footer a {
	color: var(--wp--preset--color--text-soft);
	text-decoration: none;
	transition: color 180ms ease, opacity 180ms ease;
}

.mada-site-footer a:hover,
.mada-site-footer a:focus-visible {
	color: var(--wp--preset--color--green-light);
}

.mada-site-footer a:focus-visible {
	outline: 2px solid var(--wp--preset--color--green-light);
	outline-offset: 4px;
	border-radius: 6px;
}

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

.mada-site-footer--en,
.mada-site-footer--en .mada-site-footer__brand,
.mada-site-footer--en .mada-site-footer__contact {
	direction: ltr;
	text-align: left;
}

.mada-site-footer__contact-item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: var(--wp--preset--spacing--xs);
	margin: 0 0 var(--wp--preset--spacing--sm);
	color: var(--wp--preset--color--text-soft);
	font-size: 0.95rem;
	line-height: 1.6;
}

.mada-site-footer__contact-item svg {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	color: var(--wp--preset--color--green-light);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mada-site-footer__contact-item--whatsapp svg {
	fill: currentColor;
	stroke: none;
}

.mada-site-footer__bottom {
	position: relative;
	z-index: 1;
	max-width: var(--wp--style--global--wide-size);
	padding-block: 1rem;
	margin: var(--wp--preset--spacing--xl) auto 0;
	border-top: 1px solid rgba(101, 223, 243, 0.18);
}

@media (max-width: 900px) {
	.mada-site-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: var(--wp--preset--spacing--lg);
	}

	.mada-site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.mada-site-footer {
		padding: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--sm) 0;
	}

	.mada-site-footer__inner {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--md);
	}

	.mada-site-footer__brand,
	.mada-site-footer__links,
	.mada-site-footer__contact {
		text-align: center;
	}

	.mada-site-footer__description {
		margin-inline: auto;
	}

	.mada-site-footer__contact-item {
		justify-content: center;
	}

	.mada-site-footer__bottom {
		margin-top: var(--wp--preset--spacing--lg);
	}
}

/* ==========================================================================
   MADA Design System — Glassmorphism Cards
   ========================================================================== */
.is-style-mada-card,
.wp-block-group.mada-card,
.mada-card {
	border-radius: 24px !important;
	padding: 2.2rem !important;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease !important;
	border: 1px solid var(--card-border) !important;
	background: var(--card-bg-glass) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	position: relative;
	overflow: hidden;
}

.is-style-mada-card:hover,
.wp-block-group.mada-card:hover,
.mada-card:hover {
	transform: translateY(-6px) !important;
	box-shadow: 0 24px 48px rgba(var(--mada-bg-rgb),0.5), 0 0 20px rgba(var(--mada-accent-rgb),0.12) !important;
	border-color: rgba(var(--mada-accent-rgb),0.3) !important;
}

/* ==========================================================================
   MADA Design System — Pill Buttons
   ========================================================================== */
.wp-block-button__link,
.mada-btn-primary {
	border-radius: 9999px !important;
	padding: 0.85rem 2.2rem !important;
	font-weight: 700 !important;
	font-family: var(--font-primary);
	transition: all 0.25s ease-in-out !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	text-decoration: none !important;
	cursor: pointer !important;
}

.wp-block-button__link:hover,
.mada-btn-primary:hover {
	transform: translateY(-2px) scale(1.02) !important;
	filter: brightness(1.08) !important;
	box-shadow: 0 10px 25px rgba(var(--mada-accent-rgb),0.35) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link,
.mada-btn-secondary {
	background: transparent !important;
	border: 1.5px solid rgba(var(--mada-text-rgb),0.3) !important;
	color: var(--mada-text) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.mada-btn-secondary:hover {
	border-color: var(--mada-green) !important;
	color: var(--mada-green) !important;
	background: rgba(var(--mada-accent-rgb),0.08) !important;
	box-shadow: none !important;
}

/* ==========================================================================
   MADA Design System — Badges & Tags
   ========================================================================== */
.mada-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 1.15rem;
	border-radius: 9999px;
	background: rgba(var(--mada-accent-rgb),0.12);
	border: 1px solid rgba(var(--mada-accent-rgb),0.3);
	color: var(--mada-green);
	font-size: 0.88rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.mada-badge-pulse {
	width: 8px;
	height: 8px;
	background: var(--mada-green);
	border-radius: 50%;
	animation: madaBadgePulse 2s infinite;
}

@keyframes madaBadgePulse {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(var(--mada-accent-rgb),0.7); }
	70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(var(--mada-accent-rgb),0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(var(--mada-accent-rgb),0); }
}

/* ==========================================================================
   MADA Design System — Green Glow Background
   ========================================================================== */
.mada-glow-bg {
	background: radial-gradient(circle at 50% 25%, rgba(var(--mada-accent-rgb),0.2) 0%, rgba(var(--mada-bg-rgb),0.98) 72%) !important;
	position: relative;
}

.mada-pattern-overlay {
	background-image: radial-gradient(rgba(var(--mada-accent-rgb),0.12) 1.5px, transparent 1.5px);
	background-size: 28px 28px;
}

/* ==========================================================================
   MADA Design System — Service Cards
   ========================================================================== */
.mada-service-card {
	background: rgba(var(--mada-surface-rgb),0.7) !important;
	border: 1px solid rgba(var(--mada-text-rgb),0.08) !important;
	border-radius: 24px !important;
	padding: 2.5rem !important;
	transition: all 0.35s ease;
}

.mada-service-card:hover {
	border-color: var(--mada-green) !important;
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(var(--mada-bg-rgb),0.6), 0 0 25px rgba(var(--mada-accent-rgb),0.15) !important;
}

.mada-service-icon {
	width: 60px;
	height: 60px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.7rem;
	margin-bottom: 1.5rem;
}

.mada-icon-green { background: rgba(var(--mada-accent-rgb),0.15); color: var(--mada-green); border: 1px solid rgba(var(--mada-accent-rgb),0.3); }
.mada-icon-sky { background: rgba(75, 179, 253, 0.15); color: var(--accent-sky); border: 1px solid rgba(75, 179, 253, 0.3); }
.mada-icon-orange { background: rgba(252, 122, 30, 0.15); color: var(--accent-orange); border: 1px solid rgba(252, 122, 30, 0.3); }
.mada-icon-purple { background: rgba(133, 138, 227, 0.15); color: var(--accent-purple); border: 1px solid rgba(133, 138, 227, 0.3); }
.mada-icon-coral { background: rgba(239, 86, 86, 0.15); color: var(--accent-coral); border: 1px solid rgba(239, 86, 86, 0.3); }

/* ==========================================================================
   MADA Design System — CTA Banner
   ========================================================================== */
.mada-cta-banner {
	background: linear-gradient(135deg, var(--mada-tint) 0%, var(--mada-bg) 70%) !important;
	border-radius: 32px !important;
	border: 1px solid rgba(var(--mada-accent-rgb),0.35) !important;
	box-shadow: 0 30px 60px rgba(var(--mada-bg-rgb),0.6), inset 0 0 40px rgba(var(--mada-accent-rgb),0.15) !important;
	padding: 5rem 2.5rem !important;
	text-align: center;
	position: relative;
	overflow: hidden;
}

/* ==========================================================================
   MADA Design System — Journey Section (Cream Background)
   ========================================================================== */
.mada-journey-wrapper {
	background-color: var(--wp--preset--color--contrast);
	color: var(--mada-navy) !important;
	border-radius: 36px;
	padding: 4.5rem 2rem;
	margin: 3rem 0;
}

.mada-journey-wrapper h2,
.mada-journey-wrapper h3,
.mada-journey-wrapper p {
	color: var(--mada-navy) !important;
}

/* ==========================================================================
   MADA Design System — Form Inputs
   ========================================================================== */
.mada-input,
.mada-textarea {
	width: 100%;
	padding: 0.95rem 1.4rem;
	border-radius: 16px;
	background: rgba(var(--mada-text-rgb),0.05);
	border: 1px solid rgba(var(--mada-text-rgb),0.12);
	color: var(--mada-text);
	font-family: var(--font-primary);
	font-size: 1rem;
	box-sizing: border-box;
	transition: all 0.25s ease;
	margin-bottom: 1rem;
}

.mada-input:focus,
.mada-textarea:focus {
	outline: none;
	border-color: var(--mada-green);
	background: rgba(var(--mada-text-rgb),0.08);
	box-shadow: 0 0 15px rgba(var(--mada-accent-rgb),0.25);
}

/* Responsive overrides for Mada components */
@media (max-width: 768px) {
	.mada-journey-wrapper {
		padding: 3rem 1.25rem;
	}
	.is-style-mada-card,
	.wp-block-group.mada-card,
	.mada-card {
		padding: 1.5rem !important;
	}
}

/* ==========================================================================
   ★ MADA ANIMATION SYSTEM ★
   Site Editor compatible — use via "Additional CSS Classes" on any block
   ========================================================================== */

/* ── Base Animation State (hidden before trigger) ── */
.mada-anim-fade-up,
.mada-anim-fade-down,
.mada-anim-fade-left,
.mada-anim-fade-right,
.mada-anim-scale-in,
.mada-anim-blur-in,
.mada-anim-slide-up,
.mada-anim-rotate-in,
.mada-anim-bounce-in,
.mada-anim-flip-in {
	opacity: 0;
	will-change: transform, opacity;
	transition-property: transform, opacity, filter;
	transition-duration: 0.7s;
	transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Initial Transforms ── */
.mada-anim-fade-up {
	transform: translateY(50px);
}

.mada-anim-fade-down {
	transform: translateY(-50px);
}

.mada-anim-fade-left {
	transform: translateX(60px);
}

.mada-anim-fade-right {
	transform: translateX(-60px);
}

.mada-anim-scale-in {
	transform: scale(0.82);
}

.mada-anim-blur-in {
	filter: blur(18px);
	transform: scale(0.96);
}

.mada-anim-slide-up {
	transform: translateY(100px);
}

.mada-anim-rotate-in {
	transform: rotate(-8deg) scale(0.88);
	transform-origin: center center;
}

.mada-anim-bounce-in {
	transform: scale(0.3);
}

.mada-anim-flip-in {
	transform: perspective(600px) rotateX(-60deg);
	transform-origin: top center;
}

/* ── Active State (triggered by IntersectionObserver) ── */
.mada-anim-fade-up.mada-anim--active,
.mada-anim-fade-down.mada-anim--active,
.mada-anim-fade-left.mada-anim--active,
.mada-anim-fade-right.mada-anim--active,
.mada-anim-scale-in.mada-anim--active,
.mada-anim-blur-in.mada-anim--active,
.mada-anim-slide-up.mada-anim--active,
.mada-anim-rotate-in.mada-anim--active,
.mada-anim-bounce-in.mada-anim--active,
.mada-anim-flip-in.mada-anim--active {
	opacity: 1;
	transform: none;
	filter: none;
}

/* Bounce-in uses a special timing function */
.mada-anim-bounce-in.mada-anim--active {
	transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Continuous / Looping Animations ── */
.mada-anim-glow-pulse {
	animation: madaGlowPulse 3s ease-in-out infinite;
}

@keyframes madaGlowPulse {
	0%, 100% { box-shadow: 0 0 15px rgba(var(--mada-accent-rgb),0.15); }
	50% { box-shadow: 0 0 35px rgba(var(--mada-accent-rgb),0.45), 0 0 60px rgba(var(--mada-accent-rgb),0.15); }
}

.mada-anim-float {
	animation: madaFloat 4s ease-in-out infinite;
}

@keyframes madaFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}

.mada-anim-shimmer {
	position: relative;
	overflow: hidden;
}

.mada-anim-shimmer::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent 0%, rgba(var(--mada-accent-rgb),0.08) 50%, transparent 100%);
	animation: madaShimmer 3.5s ease-in-out infinite;
	pointer-events: none;
}

@keyframes madaShimmer {
	0% { left: -100%; }
	100% { left: 200%; }
}

.mada-anim-border-glow {
	position: relative;
}

.mada-anim-border-glow::before {
	content: '';
	position: absolute;
	inset: -2px;
	border-radius: inherit;
	background: conic-gradient(from 0deg, rgba(var(--mada-accent-rgb),0), rgba(var(--mada-accent-rgb),0.5), rgba(75, 179, 253, 0.3), rgba(133, 138, 227, 0.3), rgba(var(--mada-accent-rgb),0));
	z-index: -1;
	animation: madaBorderGlow 4s linear infinite;
	opacity: 0.6;
}

@keyframes madaBorderGlow {
	0% { filter: hue-rotate(0deg); }
	100% { filter: hue-rotate(360deg); }
}

/* ── Stagger Children Animation ── */
.mada-anim-stagger > * {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mada-anim-stagger.mada-anim--active > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.mada-anim-stagger.mada-anim--active > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: none; }
.mada-anim-stagger.mada-anim--active > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: none; }
.mada-anim-stagger.mada-anim--active > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: none; }
.mada-anim-stagger.mada-anim--active > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: none; }
.mada-anim-stagger.mada-anim--active > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: none; }
.mada-anim-stagger.mada-anim--active > *:nth-child(7) { transition-delay: 0.47s; opacity: 1; transform: none; }
.mada-anim-stagger.mada-anim--active > *:nth-child(8) { transition-delay: 0.54s; opacity: 1; transform: none; }
.mada-anim-stagger.mada-anim--active > *:nth-child(9) { transition-delay: 0.61s; opacity: 1; transform: none; }
.mada-anim-stagger.mada-anim--active > *:nth-child(10) { transition-delay: 0.68s; opacity: 1; transform: none; }
.mada-anim-stagger.mada-anim--active > *:nth-child(11) { transition-delay: 0.75s; opacity: 1; transform: none; }
.mada-anim-stagger.mada-anim--active > *:nth-child(12) { transition-delay: 0.82s; opacity: 1; transform: none; }

/* ── Delay Modifiers ── */
.mada-delay-100 { transition-delay: 0.1s !important; }
.mada-delay-200 { transition-delay: 0.2s !important; }
.mada-delay-300 { transition-delay: 0.3s !important; }
.mada-delay-400 { transition-delay: 0.4s !important; }
.mada-delay-500 { transition-delay: 0.5s !important; }
.mada-delay-600 { transition-delay: 0.6s !important; }
.mada-delay-700 { transition-delay: 0.7s !important; }
.mada-delay-800 { transition-delay: 0.8s !important; }
.mada-delay-900 { transition-delay: 0.9s !important; }
.mada-delay-1000 { transition-delay: 1.0s !important; }
.mada-delay-1200 { transition-delay: 1.2s !important; }
.mada-delay-1500 { transition-delay: 1.5s !important; }

/* ── Duration Modifiers ── */
.mada-duration-fast { transition-duration: 0.3s !important; }
.mada-duration-normal { transition-duration: 0.6s !important; }
.mada-duration-slow { transition-duration: 1.0s !important; }
.mada-duration-slower { transition-duration: 1.5s !important; }

/* ── Easing Modifiers ── */
.mada-ease-bounce { transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1) !important; }
.mada-ease-smooth { transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important; }
.mada-ease-snap { transition-timing-function: cubic-bezier(0.65, 0, 0.35, 1) !important; }

/* ── Hover Interaction Effects ── */
.mada-hover-lift {
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.mada-hover-lift:hover {
	transform: translateY(-8px) !important;
	box-shadow: 0 20px 40px rgba(var(--mada-bg-rgb),0.4), 0 0 15px rgba(var(--mada-accent-rgb),0.1) !important;
}

.mada-hover-glow {
	transition: box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.mada-hover-glow:hover {
	box-shadow: 0 0 30px rgba(var(--mada-accent-rgb),0.25) !important;
	border-color: rgba(var(--mada-accent-rgb),0.4) !important;
}

.mada-hover-scale {
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mada-hover-scale:hover {
	transform: scale(1.05) !important;
}

.mada-hover-tilt {
	transition: transform 0.3s ease !important;
}

.mada-hover-tilt:hover {
	transform: perspective(800px) rotateY(-3deg) rotateX(2deg) !important;
}

/* ── Number Counter Animation (for stats) ── */
.mada-anim-counter {
	display: inline-block;
}

/* ── Typewriter Effect ── */
.mada-anim-typewriter {
	overflow: hidden;
	border-left: 3px solid var(--mada-green);
	white-space: nowrap;
	animation:
		madaTypewriter 3.5s steps(40, end) forwards,
		madaBlinkCaret 0.75s step-end infinite;
	width: 0;
}

.mada-anim-typewriter.mada-anim--active {
	width: 100%;
}

@keyframes madaTypewriter {
	from { width: 0; }
	to { width: 100%; }
}

@keyframes madaBlinkCaret {
	from, to { border-color: transparent; }
	50% { border-color: var(--mada-green); }
}

/* ── Parallax Depth Layers ── */
.mada-parallax-slow {
	will-change: transform;
}

.mada-parallax-fast {
	will-change: transform;
}

/* ── prefers-reduced-motion: Disable all animations ── */
@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.mada-anim-fade-up,
	.mada-anim-fade-down,
	.mada-anim-fade-left,
	.mada-anim-fade-right,
	.mada-anim-scale-in,
	.mada-anim-blur-in,
	.mada-anim-slide-up,
	.mada-anim-rotate-in,
	.mada-anim-bounce-in,
	.mada-anim-flip-in {
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
		transition: none !important;
	}

	.mada-anim-stagger > * {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.mada-anim-glow-pulse,
	.mada-anim-float,
	.mada-anim-shimmer::after,
	.mada-anim-border-glow::before,
	.mada-anim-typewriter {
		animation: none !important;
	}

	.mada-anim-typewriter {
		width: 100% !important;
		border-color: transparent !important;
	}

	.mada-floating-action--whatsapp {
		animation: none;
	}
}

/* ── Site Editor Preview Support ── */
.editor-styles-wrapper .mada-anim-fade-up,
.editor-styles-wrapper .mada-anim-fade-down,
.editor-styles-wrapper .mada-anim-fade-left,
.editor-styles-wrapper .mada-anim-fade-right,
.editor-styles-wrapper .mada-anim-scale-in,
.editor-styles-wrapper .mada-anim-blur-in,
.editor-styles-wrapper .mada-anim-slide-up,
.editor-styles-wrapper .mada-anim-rotate-in,
.editor-styles-wrapper .mada-anim-bounce-in,
.editor-styles-wrapper .mada-anim-flip-in,
.editor-styles-wrapper .mada-anim-stagger > * {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

/* ── Gutenberg Inspector Animation Panel ── */
.mada-editor-animation-panel {
	border-right: 3px solid var(--mada-accent) !important;
	background: rgba(var(--mada-accent-rgb),0.03);
}

.mada-editor-animation-panel .components-panel__body-title {
	font-weight: 700;
	color:var(--mada-on-accent);
}

.mada-editor-animation-panel .components-base-control {
	margin-bottom: 16px;
}

.mada-editor-animation-panel select {
	border-radius: 8px !important;
	border-color: var(--mada-muted) !important;
	font-size: 13px !important;
	padding: 6px 12px !important;
}

.mada-editor-animation-panel select:focus {
	border-color: var(--mada-accent) !important;
	box-shadow: 0 0 0 1px var(--mada-accent) !important;
}


/* Contact actions are shared with saved landing-page sections. */
.mada-contact-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-block:2rem}

/* Override the low-contrast color in legacy saved footer paragraphs. */
.mada-site-footer__bottom p{color:var(--wp--preset--color--text-muted)!important}
