/* Fasto homepage, Arabic first (RTL). Sections are core Group blocks with fasto-* classes.
   Logical properties throughout so the layout mirrors cleanly for English later. */
.fasto-home-content { overflow: clip; background: #fff; }
.fasto-home-content > * { margin-block: 0; }

.fasto-sec {
	max-width: var(--f-wrap);
	margin-inline: auto;
	padding: clamp(56px, 8vw, 104px) var(--f-gutter);
}
.fasto-home-content h1,
.fasto-home-content h2,
.fasto-home-content h3 {
	font-family: var(--f-font-ar);
	letter-spacing: 0;
	color: var(--f-black);
}
.fasto-home-content p,
.fasto-home-content li {
	font-family: var(--f-font-ar);
}

/* ---------- hero ---------- */
.fasto-hero { background: #fff; }
.fasto-hero > .wp-block-columns {
	max-width: var(--f-wrap);
	margin: 0 auto !important;
	padding: clamp(40px, 6vw, 80px) var(--f-gutter) clamp(48px, 7vw, 96px);
	gap: clamp(28px, 5vw, 72px) !important;
	align-items: center !important;
}
.fasto-hero h1 {
	font-size: clamp(40px, 5.6vw, 76px);
	line-height: 1.18;
	font-weight: 800;
	margin: 0 0 22px;
	text-wrap: balance;
}
.fasto-hero-sub {
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.75;
	color: #3F3F4C;
	max-width: 34ch;
	margin: 0 0 30px;
}
.fasto-hero .wp-block-buttons { gap: 12px; }
.fasto-hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	list-style: none;
	padding: 0 !important;
	margin: 30px 0 0 !important;
	font-size: 15px;
	color: #3F3F4C;
}
.fasto-hero-points li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.fasto-hero-points li::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6BFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.fasto-hero-visual { position: relative; }
.fasto-hero-photo { margin: 0 !important; }
.fasto-hero-photo img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 26px;
	display: block;
	box-shadow: 0 28px 60px -32px rgba(20, 20, 40, .45);
}
/* handwritten note, the one human touch on the photo */
.fasto-note {
	position: absolute;
	inset-block-end: 9%;
	inset-inline-end: -4%;
	margin: 0 !important;
	padding: 10px 18px 12px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 14px 30px -14px rgba(20, 20, 40, .4);
	font-family: 'Aref Ruqaa', var(--f-font-ar) !important;
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 700;
	color: var(--f-black);
	transform: rotate(-4deg);
}
.fasto-note::after {
	content: "";
	position: absolute;
	inset-block-start: -38px;
	inset-inline-start: 30%;
	width: 54px;
	height: 44px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 50' fill='none' stroke='%230A0A0F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 46c6-18 18-30 40-36'/%3E%3Cpath d='M38 6l10 4-6 9'/%3E%3C/svg%3E");
}

/* ---------- section heads ---------- */
.fasto-sec-head { margin-bottom: 34px; }
.fasto-sec-head h2,
.fasto-why h2 {
	font-size: clamp(30px, 3.6vw, 46px);
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 8px;
}
.fasto-sec-sub { margin: 0; color: #4A4A57; font-size: 17px; line-height: 1.7; max-width: 52ch; }

/* ---------- launch products ---------- */
.fasto-launch { background: var(--f-mist); scroll-margin-top: 90px; }
.fasto-products { gap: 22px !important; }
.fasto-product {
	background: #fff;
	border-radius: 24px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 0 rgba(20, 20, 40, .04);
}
.fasto-product-img { margin: 0 !important; background: var(--f-mist); }
.fasto-product-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.fasto-product-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fasto-product-body h3 { font-size: 24px; font-weight: 800; margin: 0 0 6px; line-height: 1.35; }
.fasto-product-line { margin: 0 0 14px !important; color: #3F3F4C; font-size: 16px; line-height: 1.75; }
.fasto-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0 !important;
	margin: 0 0 18px !important;
}
.fasto-chips li {
	background: var(--f-mist);
	border-radius: 999px;
	padding: 6px 13px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--f-black);
}
.fasto-price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 14px;
}
.fasto-price p { margin: 0; }
.fasto-price-label { color: #5A5A68; font-size: 14px; }
.fasto-price-value { font-size: 22px; font-weight: 800; color: var(--f-black); }

.fasto-how-box {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--f-line);
}
.fasto-how-title { margin: 0 0 10px !important; font-weight: 700; font-size: 15px; }
.fasto-how {
	list-style: none;
	counter-reset: how;
	padding: 0 !important;
	margin: 0 !important;
	display: grid;
	gap: 8px;
}
.fasto-how li {
	counter-increment: how;
	display: flex;
	gap: 10px;
	align-items: baseline;
	font-size: 15px;
	line-height: 1.6;
	color: #3F3F4C;
}
.fasto-how li::before {
	content: counter(how, arabic-indic);
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--f-black);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: inline-grid;
	place-items: center;
	transform: translateY(2px);
}

/* ---------- why fasto ---------- */
.fasto-why { background: #fff; }
.fasto-why-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 30px;
	border-top: 2px solid var(--f-black);
}
.fasto-why-item {
	padding: 26px 0 0;
	padding-inline-end: 32px;
}
.fasto-why-item + .fasto-why-item {
	padding-inline-start: 32px;
	border-inline-start: 1px solid var(--f-line);
}
.fasto-why-item h3 { font-size: 21px; font-weight: 800; margin: 0 0 8px; }
.fasto-why-item p { margin: 0; color: #4A4A57; font-size: 16px; line-height: 1.75; }

/* ---------- coming soon ---------- */
.fasto-soon-sec { background: #fff; padding: 0 var(--f-gutter) clamp(56px, 8vw, 104px); }
.fasto-soon {
	max-width: var(--f-wrap);
	margin-inline: auto;
	background: var(--f-black);
	color: #fff;
	border-radius: 26px;
	padding: clamp(32px, 5vw, 60px) !important;
}
.fasto-soon-label { margin: 0 0 10px !important; color: #B9B9C8; font-size: 15px; }
.fasto-soon h2 {
	color: #fff;
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 800;
	line-height: 1.35;
	margin: 0 0 26px;
	max-width: 22ch;
}

/* ---------- responsive ---------- */
@media (max-width: 781px) {
	.fasto-hero > .wp-block-columns { flex-wrap: wrap !important; }
	.fasto-hero-visual { width: 100%; }
	.fasto-note { inset-inline-end: 4%; }
	.fasto-why-list { grid-template-columns: 1fr; }
	.fasto-why-item,
	.fasto-why-item + .fasto-why-item { padding-inline: 0; border-inline-start: 0; }
	.fasto-why-item + .fasto-why-item { border-top: 1px solid var(--f-line); margin-top: 22px; }
}
