/* מתחם הריהוט — homepage sections. From the approved Paper home. RTL. */

.mr-home .mr-main { padding-block: 0; }
.mr-hero, .mr-depts, .mr-pick, .mr-banners, .mr-popular, .mr-promo { padding-inline: 56px; }

/* ---- Hero ---- */
.mr-hero {
	position: relative; display: flex; align-items: center; justify-content: flex-start; min-height: 540px;
	padding-block: 40px; overflow: hidden;
	/* Full-bleed image; neutral dark shade on the text side (right, RTL) only. */
	background:
		linear-gradient(270deg, rgba(20,20,22,.62) 0%, rgba(20,20,22,.30) 45%, rgba(20,20,22,0) 70%),
		url('../img/hero-home.webp') center/cover;
}
.mr-hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; max-width: 560px; gap: 22px; }
.mr-hero__eyebrow { font-size: 15px; font-weight: var(--fw-bold); letter-spacing: .16em; color: var(--mr-gold-soft); }
.mr-hero__title { margin: 0; font-size: clamp(40px, 5vw, 72px); font-weight: 900; letter-spacing: -.03em; line-height: 1.03; color: var(--mr-white); }
.mr-hero__sub { margin: 0; max-width: 440px; font-size: 19px; line-height: 28px; color: rgba(255,255,255,.88); }
.mr-hero__cta {
	display: inline-flex; align-items: center; gap: 12px; height: 56px; margin-top: 6px;
	padding-inline: 36px; border-radius: var(--r-pill); background: var(--mr-ink); color: var(--mr-white);
	font-size: 17px; font-weight: var(--fw-bold);
}
.mr-hero__cta:hover { background: var(--mr-navy); color: var(--mr-white); }
@media (max-width: 820px) {
	.mr-hero {
		min-height: 460px; padding-block: 32px; align-items: flex-start;
		background:
			linear-gradient(180deg, rgba(20,20,22,.62) 0%, rgba(20,20,22,.35) 55%, rgba(20,20,22,.10) 100%),
			url('../img/hero-home.webp') center/cover;
	}
	.mr-hero__content { max-width: none; }
	.mr-hero__title { font-size: 40px; }
}

/* ---- Departments (6 small tiles) ---- */
.mr-depts { padding-top: 64px; padding-bottom: 40px; background: var(--mr-white); }
.mr-depts__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.mr-dept { display: flex; flex-direction: column; gap: 12px; }
.mr-dept__img { display: block; aspect-ratio: 200 / 216; border-radius: var(--r-md); background-size: cover; background-position: center; transition: transform .3s ease; }
.mr-dept:hover .mr-dept__img { transform: translateY(-4px); }
.mr-dept__name { font-size: 18px; font-weight: var(--fw-bold); line-height: 24px; text-align: center; color: var(--mr-nav-ink); }
@media (max-width: 900px) { .mr-depts__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .mr-depts__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Pick a starting point (4 big tiles) ---- */
.mr-pick { padding-block: var(--sp-section); background: var(--mr-cream); }
.mr-pick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mr-pick__tile { display: flex; flex-direction: column; gap: 12px; }
.mr-pick__img { display: block; aspect-ratio: 314 / 300; border-radius: var(--r-lg); background-size: cover; background-position: center; transition: transform .3s ease; }
.mr-pick__tile:hover .mr-pick__img { transform: translateY(-4px); }
.mr-pick__name { font-size: 20px; font-weight: var(--fw-bold); line-height: 26px; text-align: center; color: var(--mr-nav-ink); }
@media (max-width: 820px) { .mr-pick__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Sale banners ---- */
.mr-banners { display: flex; flex-direction: column; gap: 20px; padding-block: 20px 24px; background: var(--mr-white); }
.mr-banners__feature {
	display: flex; align-items: center; justify-content: flex-start;
	border-radius: var(--r-lg); padding: 46px 56px; overflow: hidden;
	background: linear-gradient(270deg, rgba(20,20,22,.75) 0%, rgba(20,20,22,.35) 50%, rgba(20,20,22,0) 75%), url('../img/feature-strip.webp') center/cover;
}
.mr-banners__feature-text { display: flex; flex-direction: column; gap: 14px; max-width: 660px; }
.mr-banners__feature-title { margin: 0; font-size: 46px; font-weight: var(--fw-black); line-height: 1.05; color: var(--mr-white); }
.mr-banners__feature-sub { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.85); }
.mr-banners__feature .mr-btn { margin-top: 8px; }
.mr-banners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mr-banner {
	position: relative; display: flex; align-items: flex-end; min-height: 216px;
	border-radius: var(--r-lg); overflow: hidden; background-size: cover; background-position: center;
}
.mr-banner__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,22,.85) 0%, rgba(20,20,22,.05) 62%); }
.mr-banner__body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 3px; padding: 22px; }
.mr-banner__name { font-size: 24px; font-weight: var(--fw-black); line-height: 28px; color: var(--mr-white); }
.mr-banner__from { font-size: 16px; font-weight: 600; line-height: 20px; color: var(--mr-gold-soft); }
.mr-banner__cta { margin-top: 4px; font-size: 14px; font-weight: var(--fw-bold); color: var(--mr-white); }
.mr-banner:hover .mr-banner__cta { text-decoration: underline; }
@media (max-width: 900px) { .mr-banners__grid { grid-template-columns: 1fr; } .mr-banners__feature { padding: 32px; } .mr-banners__feature-title { font-size: 34px; } }

/* ---- Popular ---- */
.mr-popular { padding-block: 48px 64px; background: var(--mr-cream); }

/* ---- Promo ---- */
.mr-promo { display: flex; gap: 24px; padding-block: 64px; background: var(--mr-white); }
.mr-promo__card { flex: 1 1 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 280px; padding: 44px; border-radius: var(--r-lg); overflow: hidden; }
.mr-promo__card--navy { background: linear-gradient(270deg, rgba(20,20,22,.72) 25%, rgba(20,20,22,.32) 58%, rgba(20,20,22,0) 82%), url('../img/promo-apartment.webp') center/cover; }
.mr-promo__card--red { background: linear-gradient(270deg, rgba(20,20,22,.72) 25%, rgba(20,20,22,.32) 58%, rgba(20,20,22,0) 82%), url('../img/promo-vat.webp') center/cover; }
.mr-promo__top { display: flex; flex-direction: column; gap: 14px; }
.mr-promo__eyebrow { font-size: 14px; font-weight: var(--fw-bold); letter-spacing: .12em; color: #AEB4E8; }
.mr-promo__eyebrow--red { color: #F6C3B7; }
.mr-promo__title { margin: 0; font-size: 46px; font-weight: 900; line-height: 50px; color: var(--mr-white); }
.mr-promo__sub { margin: 0; max-width: 380px; font-size: 18px; line-height: 28px; color: rgba(255,255,255,.85); }
@media (max-width: 820px) { .mr-promo { flex-direction: column; } .mr-promo__title { font-size: 36px; line-height: 40px; } }

@media (max-width: 640px) {
	.mr-hero, .mr-depts, .mr-pick, .mr-banners, .mr-popular, .mr-promo { padding-inline: 20px; }
}
