/* דף הבית (design/Main.dc.html) */

.orpas-home {
	color: var(--orpas-ink);
	font-size: 16px;
	line-height: 1.55;
}

.orpas-section {
	max-width: 1240px;
	margin: 0 auto;
	padding: 96px var(--orpas-pad) 80px;
	box-sizing: border-box;
}

.orpas-section__title {
	margin: 0;
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -.03em;
}

.orpas-eyebrow {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--orpas-muted);
}

.orpas-link {
	color: var(--orpas-ink);
	font-weight: 700;
}

.orpas-pill {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	background: var(--orpas-ink);
	color: var(--orpas-paper);
	font-weight: 700;
	text-decoration: none;
}

.orpas-pill:hover {
	color: #fff;
}

/* Hero */
.orpas-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 56px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 40px var(--orpas-pad) 72px;
	box-sizing: border-box;
}

.orpas-hero__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.orpas-hero__title {
	margin: 0;
	font-size: clamp(44px, 6vw, 80px);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -.035em;
}

.orpas-hero__lead {
	max-width: 36ch;
	margin: 0;
	font-size: 19px;
	font-weight: 300;
	color: #2A2A28;
}

.orpas-hero__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	color: var(--orpas-muted);
}

.orpas-hero__price strong {
	color: var(--orpas-ink);
	font-size: 34px;
	font-weight: 900;
}

.orpas-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.orpas-hero__cta {
	gap: 10px;
	margin-top: 0;
	padding: 18px 32px;
}

/* יתרונות */
.orpas-benefits {
	border-top: 1px solid var(--orpas-line);
	border-bottom: 1px solid var(--orpas-line);
	background: #fff;
}

.orpas-benefits__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 28px var(--orpas-pad);
	list-style: none;
	box-sizing: border-box;
}

.orpas-benefits__list li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 14px;
	color: var(--orpas-muted);
}

.orpas-benefits__list svg {
	flex: 0 0 auto;
	color: var(--orpas-ink);
}

.orpas-benefits__list strong {
	display: block;
	color: var(--orpas-ink);
	font-size: 16px;
}

/* איך זה עובד */
.orpas-how {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.orpas-how__intro {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
}

.orpas-how__intro p {
	max-width: 40ch;
	margin: 0;
	font-size: 18px;
	color: var(--orpas-muted);
}

.orpas-how__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.orpas-how__steps li {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 20px;
	border-top: 2px solid var(--orpas-ink);
}

.orpas-how__num {
	font-size: 56px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -.04em;
}

.orpas-how__steps strong {
	font-size: 20px;
	font-weight: 800;
}

.orpas-how__steps span:last-child {
	color: var(--orpas-muted);
}

/* גוונים – רקע כהה */
.orpas-colors {
	background: var(--orpas-ink);
	color: var(--orpas-paper);
}

.orpas-colors__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	gap: 56px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 96px var(--orpas-pad);
	box-sizing: border-box;
}

.orpas-colors__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.orpas-colors__text > p {
	margin: 0;
	font-size: 18px;
	color: #A8A6A0;
}

.orpas-colors .orpas-section__title {
	color: var(--orpas-paper);
}

.orpas-colors__photo {
	width: 100%;
	max-width: 440px; /* התמונות ברוחב ~330–460px – לא למתוח יותר מדי */
	aspect-ratio: 3 / 4;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 16px;
	background: #FFFFFF;
}

.orpas-colors__photo[hidden],
[data-orpas-color-simulation][hidden] {
	display: none;
}

.orpas-colors__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain; /* תמונות בגדלים שונים – בלי חיתוך, כמו בדף ההזמנה */
}

.orpas-colors__group {
	margin: 0;
	padding: 0;
	border: 0;
}

.orpas-colors__group legend {
	margin-bottom: 10px;
	padding: 0;
	font-weight: 800;
	color: var(--orpas-paper);
}

.orpas-colors__group legend span {
	font-weight: 400;
	color: #A8A6A0;
}

.orpas-colors__list {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.orpas-colors__swatch {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 64px;
	cursor: pointer;
	text-align: center;
}

.orpas-colors__swatch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.orpas-colors__chip {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #3A3A3A;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
}

.orpas-colors__swatch input:checked + .orpas-colors__chip {
	box-shadow: 0 0 0 3px var(--orpas-ink), 0 0 0 5px var(--orpas-paper);
}

.orpas-colors__swatch input:focus-visible + .orpas-colors__chip {
	outline: 3px solid var(--orpas-accent);
	outline-offset: 6px;
}

.orpas-colors__name {
	font-size: 12px;
	line-height: 1.25;
	color: #D6D4CE;
}

.orpas-colors__cta {
	align-self: flex-start;
	padding: 14px 24px;
	border-radius: 999px;
	background: var(--orpas-paper);
	color: var(--orpas-ink);
	font-weight: 800;
	text-decoration: none;
}

.orpas-colors__cta:hover {
	background: #fff;
	color: var(--orpas-ink);
}

/* מדידה */
.orpas-measure {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 56px;
	padding-bottom: 96px;
}

.orpas-measure__drawing {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	border-radius: 24px;
	background: #fff;
}

.orpas-measure__window {
	width: 50%;
	height: 60%;
	border: 3px solid var(--orpas-ink);
	background: repeating-linear-gradient(180deg, #E9E7E2 0 12px, transparent 12px 24px);
}

.orpas-measure__w,
.orpas-measure__h {
	position: absolute;
	color: var(--orpas-accent);
	font-size: 14px;
	font-weight: 800;
}

.orpas-measure__w {
	top: 8%;
	left: 50%;
	transform: translateX(-50%);
}

.orpas-measure__h {
	top: 50%;
	left: 12%;
	writing-mode: vertical-rl;
	transform: translateY(-50%);
}

.orpas-measure__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.orpas-measure__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.orpas-measure__cards div {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px;
	border-radius: 16px;
	background: #fff;
}

.orpas-measure__cards strong {
	font-size: 17px;
	font-weight: 800;
}

.orpas-measure__cards span {
	font-size: 15px;
	color: var(--orpas-muted);
}

/* שאלות נפוצות */
.orpas-faq {
	border-top: 1px solid var(--orpas-line);
	background: #fff;
}

.orpas-faq__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 56px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 96px var(--orpas-pad);
	box-sizing: border-box;
}

.orpas-faq details {
	border-bottom: 1px solid var(--orpas-line);
}

.orpas-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 44px;
	padding: 20px 0;
	font-size: 18px;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

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

.orpas-faq summary span {
	font-size: 24px;
	font-weight: 400;
	transition: transform .2s ease;
}

.orpas-faq details[open] summary span {
	transform: rotate(45deg);
}

.orpas-faq details p {
	margin: 0 0 20px;
	color: var(--orpas-muted);
}

/* CTA סופי */
.orpas-cta-band {
	position: relative;
	overflow: hidden;
	background: var(--orpas-ink);
	color: var(--orpas-paper);
}

.orpas-cta-band__stripes {
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .05) 0 20px, transparent 20px 40px);
}

.orpas-cta-band__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 88px var(--orpas-pad);
	box-sizing: border-box;
}

.orpas-cta-band h2 {
	margin: 0;
	color: var(--orpas-paper);
	font-size: clamp(34px, 4.4vw, 56px);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -.03em;
}

.orpas-cta-band .zebra-button {
	margin-top: 0;
	padding: 18px 32px;
}

@media (max-width: 900px) {
	.orpas-hero,
	.orpas-colors__inner,
	.orpas-measure,
	.orpas-faq__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.orpas-hero {
		padding-top: 24px;
	}

	.orpas-benefits__list,
	.orpas-how__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.orpas-section,
	.orpas-colors__inner,
	.orpas-faq__inner {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	/* גוונים בטלפון: התמונה מעל העיגולים, כדי שרואים אותה מתחלפת בלחיצה */
	.orpas-colors__inner {
		gap: 20px;
	}

	.orpas-colors__text {
		display: contents;
	}

	.orpas-colors__text > *,
	.orpas-colors__visual {
		order: 2;
	}

	.orpas-colors__text > .orpas-section__title,
	.orpas-colors__text > p {
		order: 0;
	}

	.orpas-colors__visual {
		order: 1;
	}

	.orpas-colors__photo {
		width: min(100%, 440px, 40vh); /* כמה שורות של גוונים נשארות גלויות מתחת לתמונה */
	}
}

@media (max-width: 520px) {
	.orpas-benefits__list,
	.orpas-how__steps,
	.orpas-measure__cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* תמונת מוצר עם נקודות אינטראקטיביות (Hero) */
.orpas-hotspots {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0;
}

.orpas-hotspots__stage {
	--spot-x: 50%;
	--spot-y: 50%;
	position: relative;
	width: min(100%, 440px);
	aspect-ratio: 333 / 500;
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 30px 60px -30px rgba(18, 18, 18, .35);
}

.orpas-hotspots__stage > img.orpas-hotspots__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

/* קירוב עדין בלבד – כל הווילון נשאר בתמונה */
.orpas-hotspots__stage.is-open > img.orpas-hotspots__image {
	transform: scale(1.08);
}

/* זרקור: השאר מתעמעם, סביב הנקודה נשאר מואר */
.orpas-hotspots__stage::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(circle at var(--spot-x) var(--spot-y), transparent 0, transparent 70px, rgba(18, 18, 18, .55) 170px);
	opacity: 0;
	transition: opacity .4s ease;
}

.orpas-hotspots__stage.is-open::after {
	opacity: 1;
}

/* נקודה פועמת */
.orpas-hotspot {
	position: absolute;
	z-index: 2;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .35);
	cursor: pointer;
	transition: opacity .25s ease, transform .2s ease;
}

.orpas-hotspot::before {
	content: "";
	position: absolute;
	inset: 9px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.orpas-hotspot::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	animation: orpas-pulse 2s ease-out infinite;
}

.orpas-hotspot:hover,
.orpas-hotspot:focus,
.orpas-hotspot:focus-visible {
	transform: scale(1.15);
	background: rgba(255, 255, 255, .55);
}

.orpas-hotspot:focus-visible {
	outline: 3px solid var(--orpas-accent);
	outline-offset: 3px;
}

@keyframes orpas-pulse {
	from { transform: scale(.7); opacity: 1; }
	to { transform: scale(1.6); opacity: 0; }
}

/* כשכרטיס פתוח: רק הנקודה הפעילה מוצגת, עם טבעת בצבע ההדגשה */
.orpas-hotspots__stage.is-open .orpas-hotspot:not(.is-active) {
	opacity: 0;
	pointer-events: none;
}

.orpas-hotspot.is-active {
	transform: scale(1.2);
	background: rgba(255, 255, 255, .6);
}

.orpas-hotspot.is-active::before {
	background: var(--orpas-accent);
	box-shadow: 0 0 0 3px #fff, 0 2px 10px rgba(0, 0, 0, .4);
}

/* כרטיס ההסבר – בחצי הרחוק מהנקודה */
.orpas-spot-card {
	position: absolute;
	z-index: 3;
	inset: auto 14px 14px;
	overflow: hidden;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 44px -12px rgba(0, 0, 0, .5);
	animation: orpas-card-in .35s ease both;
}

.orpas-hotspots__stage[data-card-at="top"] .orpas-spot-card {
	inset: 14px 14px auto;
}

.orpas-spot-card[hidden] {
	display: none;
}

@keyframes orpas-card-in {
	from { transform: translateY(14px); opacity: 0; }
	to { transform: none; opacity: 1; }
}

.orpas-hotspots__stage .orpas-spot-card > img.orpas-spot-card__image {
	display: block;
	width: 100%;
	height: 170px;
	object-fit: cover;
}

.orpas-spot-card__body {
	padding: 14px 18px 12px;
}

.orpas-spot-card__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
}

.orpas-spot-card__body p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--orpas-muted);
}

.orpas-spot-card__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--orpas-line);
}

.orpas-spot-card__count {
	font-size: 13px;
	font-weight: 700;
	color: var(--orpas-muted);
}

.orpas-spot-card__step,
.orpas-spot-card__close {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--orpas-paper);
	color: var(--orpas-ink);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.orpas-spot-card__step:hover,
.orpas-spot-card__step:focus,
.orpas-spot-card__close:hover,
.orpas-spot-card__close:focus {
	background: #E9E7E2;
	color: var(--orpas-ink);
}

.orpas-spot-card__step:focus-visible,
.orpas-spot-card__close:focus-visible {
	outline: 3px solid var(--orpas-accent);
	outline-offset: 2px;
}

/* כפתור הסגירה על גבי תמונת התקריב */
.orpas-spot-card__close {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
	font-size: 22px;
}

.orpas-hotspots__hint {
	font-size: 14px;
	color: var(--orpas-muted);
}

@media (prefers-reduced-motion: reduce) {
	.orpas-hotspots__stage > img.orpas-hotspots__image,
	.orpas-hotspots__stage::after,
	.orpas-spot-card {
		transition: none;
		animation: none;
	}

	.orpas-hotspot::after {
		animation: none;
	}
}

@media (max-width: 420px) {
	.orpas-hotspots__stage .orpas-spot-card > img.orpas-spot-card__image {
		height: 130px;
	}
}

/* סרטון המוצר */
.orpas-film {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 var(--orpas-pad) 72px;
	box-sizing: border-box;
}

.orpas-film__frame {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 24px;
	background: #E9E7E2;
	box-shadow: 0 30px 60px -30px rgba(18, 18, 18, .35);
}

.orpas-film__frame > video.orpas-film__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.orpas-film__toggle {
	position: absolute;
	bottom: 16px;
	left: 16px;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(18, 18, 18, .55);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(6px);
	transition: background-color .2s ease;
}

.orpas-film__toggle:hover,
.orpas-film__toggle:focus {
	background: rgba(18, 18, 18, .8);
	color: #fff;
}

.orpas-film__toggle:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.orpas-film__icon-play,
.orpas-film__toggle.is-paused .orpas-film__icon-pause {
	display: none;
}

.orpas-film__toggle.is-paused .orpas-film__icon-play {
	display: block;
}

@media (max-width: 600px) {
	.orpas-film {
		padding-bottom: 48px;
	}

	.orpas-film__frame {
		border-radius: 18px;
	}
}
