/*
 * nawy-single.css — Nawy-inspired single project page styles
 * Companion to single-project.php (Nawy layout)
 */

/* ══════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════ */
.nawy-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto;
	gap: 6px;
	border-radius: var(--rep-radius-lg);
	overflow: hidden;
	margin-bottom: var(--rep-gap-lg);
	max-height: 520px;
}

.nawy-gallery__main {
	position: relative;
	grid-row: 1 / 3;
	overflow: hidden;
}

.nawy-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.nawy-gallery__main:hover img { transform: scale(1.02); }

.nawy-gallery__all-btn {
	position: absolute;
	bottom: 14px;
	inset-inline-end: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(6px);
	border: 1.5px solid rgba(255,255,255,.6);
	border-radius: var(--rep-radius-full);
	padding: 7px 14px;
	font-size: .82rem;
	font-weight: 700;
	color: var(--rep-dark);
	cursor: pointer;
	transition: background .2s;
}
.nawy-gallery__all-btn:hover { background: #fff; }

.nawy-gallery__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 6px;
}

.nawy-gallery__thumb {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	background: var(--rep-border);
}

.nawy-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}

.nawy-gallery__thumb:hover img { transform: scale(1.06); }

.nawy-gallery__thumb--more img { filter: brightness(.45); }

.nawy-gallery__more-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: transparent;
	border: none;
	cursor: pointer;
	gap: 2px;
}
.nawy-gallery__more-overlay span { font-size: 2rem; font-weight: 800; line-height: 1; }
.nawy-gallery__more-overlay small { font-size: .8rem; font-weight: 600; opacity: .9; }

@media (max-width: 700px) {
	.nawy-gallery { grid-template-columns: 1fr; max-height: none; }
	.nawy-gallery__main { grid-row: 1; aspect-ratio: 16/9; }
	.nawy-gallery__grid { grid-template-columns: repeat(4,1fr); grid-template-rows: auto; }
	.nawy-gallery__thumb { aspect-ratio: 1; }
}

/* ══════════════════════════════════════════════
   HERO TITLE + PRICE ROW
══════════════════════════════════════════════ */
.nawy-hero {
	margin-bottom: var(--rep-gap-lg);
}

.nawy-hero__top {
	display: flex;
	align-items: flex-start;
	gap: var(--rep-gap);
	margin-bottom: var(--rep-gap);
}

.nawy-hero__dev-logo {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: var(--rep-radius);
	overflow: hidden;
	border: 1.5px solid var(--rep-border);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.nawy-hero__dev-logo img { width: 100%; height: 100%; object-fit: contain; }

.nawy-hero__title {
	font-size: clamp(1.1rem, 3.5vw, 2rem);
	margin: 0 0 .3rem;
	color: var(--rep-dark);
	line-height: 1.25;
}
@media (max-width: 480px) {
	.nawy-hero__title { font-size: 1.05rem; line-height: 1.3; }
}

.nawy-hero__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: .85rem;
	color: var(--rep-text-muted);
}

.nawy-hero__location {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--rep-text-muted);
	font-weight: 600;
	transition: color .15s;
}
.nawy-hero__location:hover { color: var(--rep-primary); }

.nawy-hero__sep { opacity: .4; }

.nawy-hero__dev-name {
	color: var(--rep-primary);
	font-weight: 700;
}

.nawy-hero__badge {
	background: var(--rep-primary);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	border-radius: var(--rep-radius-full);
	padding: 2px 10px;
}

/* Price row */
.nawy-price-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	padding: 0;
	background: #fff;
	border: 1.5px solid var(--rep-border);
	border-radius: var(--rep-radius-lg);
	direction: rtl;
	overflow: hidden;
	margin-bottom: var(--rep-gap-lg);
}

.nawy-price-row__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 220px;
	padding: 22px 28px;
	border-inline-end: 1.5px solid var(--rep-border);
}

.nawy-price-row__label {
	font-size: .82rem;
	color: var(--rep-text-muted);
	font-weight: 600;
}

.nawy-price-row__value {
	font-size: 1.75rem;
	font-weight: 900;
	color: var(--rep-dark);
	line-height: 1.1;
	direction: ltr;
	text-align: right;
}
.nawy-price-row__value--primary { color: var(--rep-primary); }

.nawy-price-row__divider { display: none; }  /* divider handled by border-inline-end */

.nawy-price-row__cta {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
	padding: 22px 28px;
	margin-inline-start: auto;
}

.nawy-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: .8rem 1.8rem;
	border-radius: var(--rep-radius-full);
	font-size: 1rem;
	font-weight: 700;
	transition: transform .15s, opacity .15s;
	white-space: nowrap;
}
.nawy-cta-btn:hover { transform: translateY(-1px); opacity: .9; }

.nawy-cta-btn--primary {
	background: var(--rep-primary);
	color: #fff;
}

.nawy-cta-btn--wa {
	background: #25D366;
	color: #fff;
}

@media (max-width: 768px) {
	.nawy-price-row {
		flex-direction: row;
		flex-wrap: wrap;
		padding: 0;
	}
	.nawy-price-row__item {
		flex: 1 1 auto;
		min-width: 0;
		border-bottom: none;
		border-inline-end: 1.5px solid var(--rep-border);
		padding: 14px 16px;
	}
	.nawy-price-row__item:last-of-type {
		border-inline-end: none;
	}
	.nawy-price-row__value {
		font-size: 1.15rem;
	}
	.nawy-price-row__cta {
		width: 100%;
		padding: 12px 16px;
		border-top: 1.5px solid var(--rep-border);
		margin-inline-start: 0;
		gap: 8px;
	}
	.nawy-cta-btn {
		flex: 1;
		justify-content: center;
		font-size: .9rem;
		padding: .65rem 1rem;
	}
}

/* ══════════════════════════════════════════════
   STICKY BAR — بنفس شكل ناوي بالظبط
══════════════════════════════════════════════ */
.nawy-sticky-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
	box-shadow: 0 2px 20px rgba(0,0,0,.08);
	transform: translateY(-110%);
	transition: transform .28s cubic-bezier(.4,0,.2,1);
}

/* WordPress admin bar pushes sticky down */
.admin-bar .nawy-sticky-bar { top: 32px; }
@media (max-width: 782px) { .admin-bar .nawy-sticky-bar { top: 46px; } }

.nawy-sticky-bar--visible { transform: translateY(0) !important; }

.nawy-sticky-bar__inner {
	max-width: 1380px;
	margin: 0 auto;
	padding: 0 28px;
	display: flex;
	align-items: stretch;
	gap: 0;
	direction: rtl;
	height: 64px;
}

/* Title + badge block */
.nawy-sticky-bar__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	padding: 0 0 0 24px;
	border-inline-start: none;
	flex-shrink: 0;
	max-width: 340px;
}

.nawy-sticky-bar__title {
	font-size: .92rem;
	font-weight: 800;
	color: var(--rep-dark);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.2;
}

.nawy-sticky-bar__badge {
	font-size: .7rem;
	font-weight: 700;
	color: var(--rep-text-muted);
	background: var(--rep-bg-alt);
	border: 1px solid var(--rep-border);
	border-radius: var(--rep-radius-full);
	padding: 1px 8px;
	width: fit-content;
}

/* Price blocks */
.nawy-sticky-bar__sep {
	width: 1px;
	background: #e8e8e8;
	margin: 12px 0;
	flex-shrink: 0;
}

.nawy-sticky-bar__price {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	padding: 0 24px;
	flex-shrink: 0;
}

.nawy-sticky-bar__price-label {
	font-size: .68rem;
	color: var(--rep-text-muted);
	font-weight: 600;
	white-space: nowrap;
}

.nawy-sticky-bar__price-value {
	font-size: 1.05rem;
	font-weight: 900;
	color: var(--rep-primary);
	white-space: nowrap;
	direction: ltr;
	text-align: right;
}

.nawy-sticky-bar__price-value--muted {
	color: var(--rep-dark);
}

/* CTA buttons */
.nawy-sticky-bar__cta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-inline-start: auto;
	padding-inline-start: 24px;
	flex-shrink: 0;
}

.nawy-sticky-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: .5rem 1.2rem;
	border-radius: var(--rep-radius-full);
	font-size: .85rem;
	font-weight: 700;
	white-space: nowrap;
	transition: transform .15s, opacity .15s;
}
.nawy-sticky-btn:hover { transform: translateY(-1px); opacity: .9; }
.nawy-sticky-btn--call { background: var(--rep-primary); color: #fff; }
.nawy-sticky-btn--wa   { background: #25D366; color: #fff; }
.nawy-sticky-btn svg   { width: 15px !important; height: 15px !important; flex-shrink: 0; }

@media (max-width: 900px) {
	.nawy-sticky-bar__info  { max-width: 200px; }
	.nawy-sticky-bar__badge { display: none; }
}
@media (max-width: 640px) {
	.nawy-sticky-bar__info  { display: none; }
	.nawy-sticky-bar__sep   { display: none; }
	.nawy-sticky-bar__inner { padding: 0 16px; }
	.nawy-sticky-bar__price { padding: 0 12px; }
	.nawy-sticky-bar__cta   { padding-inline-start: 12px; }
}

/* ══════════════════════════════════════════════
   FULL-WIDTH SECTIONS (gallery, hero, tabs, plans, units, facilities)
   These live outside .nawy-layout and span the full container width.
══════════════════════════════════════════════ */
.nawy-gallery,
.nawy-hero,
.nawy-tabs,
.nawy-plans,
.nawy-units,
.nawy-facilities {
	width: 100%;
}

/* ══════════════════════════════════════════════
   TWO-COLUMN LAYOUT (about, video, faq, related | sidebar)
   Only the bottom portion of the page uses this grid.
══════════════════════════════════════════════ */
.nawy-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: var(--rep-gap-lg);
	align-items: start;   /* CRITICAL: allows sticky to work inside grid */
	margin-top: var(--rep-gap-lg);
}

/* Sidebar column must be self-start so sticky has room to move */
.nawy-layout__sidebar {
	align-self: start;
}

.nawy-sidebar-sticky {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: var(--rep-gap);
}

body.has-sticky-bar .nawy-sidebar-sticky {
	top: 74px;
}

@media (max-width: 1024px) {
	.nawy-layout { grid-template-columns: 1fr; }
	.nawy-layout__sidebar {
		order: -1;
		align-self: auto;
	}
	.nawy-sidebar-sticky {
		position: static;
		top: auto;
	}
}

.nawy-sidebar-sticky {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: var(--rep-gap);
	/* Sticky works only when parent has enough height — nawy-layout__sidebar is align-items: start */
}
body.has-sticky-bar .nawy-sidebar-sticky {
	top: 74px;
}

/* ══════════════════════════════════════════════
   SECTION TITLE
══════════════════════════════════════════════ */
.nawy-section-title {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--rep-dark);
	margin: 0 0 var(--rep-gap);
	padding-bottom: .6rem;
	border-bottom: 2px solid var(--rep-border);
	position: relative;
}
.nawy-section-title::after {
	content: '';
	position: absolute;
	bottom: -2px;
	inset-inline-start: 0;
	width: 48px;
	height: 2px;
	background: var(--rep-primary);
}

/* ══════════════════════════════════════════════
   TABS
══════════════════════════════════════════════ */
.nawy-tabs {
	margin-bottom: var(--rep-gap-lg);
	border: 1.5px solid var(--rep-border);
	border-radius: var(--rep-radius-lg);
	overflow: hidden;
}

.nawy-tabs__nav {
	display: flex;
	background: var(--rep-bg-alt);
	border-bottom: 1.5px solid var(--rep-border);
	overflow-x: auto;
	scrollbar-width: none;
}
.nawy-tabs__nav::-webkit-scrollbar { display: none; }

.nawy-tabs__btn {
	padding: .75rem 1.25rem;
	font-size: .88rem;
	font-weight: 700;
	color: var(--rep-text-muted);
	white-space: nowrap;
	border-bottom: 3px solid transparent;
	transition: color .15s, border-color .15s;
	flex-shrink: 0;
}
.nawy-tabs__btn:hover { color: var(--rep-primary); }
.nawy-tabs__btn--active {
	color: var(--rep-primary);
	border-bottom-color: var(--rep-primary);
}

.nawy-tabs__panel { display: none; padding: var(--rep-gap-md); }
.nawy-tabs__panel--active { display: block; }

/* Specs grid */
.nawy-specs-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1.5px solid var(--rep-border);
	border-radius: var(--rep-radius-lg);
	overflow: hidden;
	background: #fff;
	direction: rtl;
}

.nawy-specs-grid__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 20px;
	background: #fff;
	text-align: right;
	border-inline-start: 1px solid var(--rep-border);
	border-bottom: 1px solid var(--rep-border);
}
.nawy-specs-grid__item:nth-child(4n+1) { border-inline-start: none; }
.nawy-specs-grid__item:nth-last-child(-n+4) { border-bottom: none; }
/* handle rows that aren't full 4 */
.nawy-specs-grid__item:last-child { border-inline-start: none; border-bottom: none; }

.nawy-specs-grid__label {
	font-size: .72rem;
	color: var(--rep-text-muted);
	font-weight: 600;
}

.nawy-specs-grid__value {
	font-size: .95rem;
	font-weight: 800;
	color: var(--rep-dark);
	line-height: 1.4;
}

@media (max-width: 900px) {
	.nawy-specs-grid { grid-template-columns: repeat(2, 1fr); }
	.nawy-specs-grid__item:nth-child(4n+1) { border-inline-start: 1px solid var(--rep-border); }
	.nawy-specs-grid__item:nth-child(2n+1) { border-inline-start: none; }
	.nawy-specs-grid__item:nth-last-child(-n+4) { border-bottom: 1px solid var(--rep-border); }
	.nawy-specs-grid__item:nth-last-child(-n+2) { border-bottom: none; }
	.nawy-specs-grid__item:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
	.nawy-specs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Images grid in tab */
.nawy-images-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}
.nawy-images-grid__item {
	aspect-ratio: 4/3;
	overflow: hidden;
	border-radius: var(--rep-radius);
	cursor: pointer;
}
.nawy-images-grid__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s;
}
.nawy-images-grid__item:hover img { transform: scale(1.06); }

@media (max-width: 600px) {
	.nawy-images-grid { grid-template-columns: repeat(2,1fr); }
}

/* Map */
.nawy-map-wrap iframe { width: 100%; height: 400px; border-radius: var(--rep-radius); border: none; }

/* Master plan */
.nawy-master-plan { width: 100%; border-radius: var(--rep-radius); }

/* ══════════════════════════════════════════════
   PAYMENT PLANS — Nawy card style
══════════════════════════════════════════════ */
.nawy-plans { margin-bottom: var(--rep-gap-lg); }

.nawy-plans__cards {
	display: flex;
	gap: var(--rep-gap);
	flex-wrap: wrap;
	background: var(--rep-bg-alt);
	border: 1.5px solid var(--rep-border);
	border-radius: var(--rep-radius-lg);
	padding: var(--rep-gap-md);
}

.nawy-plan-card {
	flex: 1 1 180px;
	min-width: 160px;
	max-width: 240px;
	background: #fff;
	border: 1.5px solid var(--rep-border);
	border-radius: var(--rep-radius-lg);
	padding: var(--rep-gap) var(--rep-gap-md);
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: border-color .2s, box-shadow .2s;
	direction: rtl;
}
.nawy-plan-card:hover {
	border-color: var(--rep-primary);
	box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

/* Plan name (e.g. "خطة الدفع الأصلية") */
.nawy-plan-card__name {
	font-size: .75rem;
	font-weight: 700;
	color: var(--rep-primary);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 5px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--rep-border);
}
.nawy-plan-card__name::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	background: var(--rep-primary);
	border-radius: 50%;
	flex-shrink: 0;
}

/* Each stat row: big number + small label below */
.nawy-plan-card__row {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	gap: 6px;
}
.nawy-plan-card__row strong {
	font-size: 1.6rem;
	font-weight: 900;
	color: var(--rep-dark);
	line-height: 1;
}
.nawy-plan-card__row span {
	font-size: .8rem;
	color: var(--rep-text-muted);
	font-weight: 600;
}

.nawy-plan-card__note {
	font-size: .75rem;
	color: var(--rep-text-muted);
	margin: 0;
	padding-top: 6px;
	border-top: 1px dashed var(--rep-border);
	line-height: 1.5;
}

@media (max-width: 600px) {
	.nawy-plans__cards { flex-direction: column; }
	.nawy-plan-card { max-width: 100%; }
}

/* ══════════════════════════════════════════════
   UNITS LIST
══════════════════════════════════════════════ */
.nawy-units { margin-bottom: var(--rep-gap-lg); }

.nawy-units__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--rep-gap-sm);
	margin-bottom: var(--rep-gap);
}

.nawy-units__count {
	font-size: .85rem;
	color: var(--rep-text-muted);
	font-weight: 600;
}

.nawy-units__filter-tabs {
	display: flex;
	gap: var(--rep-gap-sm);
	margin-bottom: var(--rep-gap);
	background: var(--rep-bg-alt);
	border-radius: var(--rep-radius-full);
	padding: 4px;
	width: fit-content;
}

.nawy-units__filter-btn {
	padding: .4rem .9rem;
	border-radius: var(--rep-radius-full);
	font-size: .82rem;
	font-weight: 700;
	color: var(--rep-text-muted);
	transition: background .15s, color .15s;
}
.nawy-units__filter-btn--active {
	background: var(--rep-primary);
	color: #fff;
}
.nawy-units__filter-btn:hover:not(.nawy-units__filter-btn--active) {
	background: var(--rep-border);
	color: var(--rep-dark);
}

.nawy-units__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: var(--rep-gap);
}

.nawy-unit-card {
	display: flex;
	flex-direction: column;
	border: 1.5px solid var(--rep-border);
	border-radius: var(--rep-radius-lg);
	overflow: hidden;
	background: #fff;
	transition: transform .2s, box-shadow .2s;
	color: var(--rep-dark);
}
.nawy-unit-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--rep-shadow-md);
}

.nawy-unit-card__thumb {
	position: relative;
	aspect-ratio: 16/10;
	overflow: hidden;
	background: var(--rep-border-light);
}
.nawy-unit-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}
.nawy-unit-card:hover .nawy-unit-card__thumb img { transform: scale(1.05); }

.nawy-unit-card__badge {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	background: #e0872c;
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: var(--rep-radius-full);
}

.nawy-unit-card__body {
	padding: var(--rep-gap-sm) var(--rep-gap);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.nawy-unit-card__title {
	font-size: .95rem;
	font-weight: 700;
	margin: 0;
	color: var(--rep-dark);
}

.nawy-unit-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.nawy-unit-card__tag {
	font-size: .72rem;
	font-weight: 600;
	background: var(--rep-bg-alt);
	border: 1px solid var(--rep-border);
	border-radius: var(--rep-radius-full);
	padding: 2px 8px;
	color: var(--rep-text-muted);
}

.nawy-unit-card__spec {
	font-size: .78rem;
	color: var(--rep-text-muted);
	font-weight: 600;
}

.nawy-unit-card__price {
	font-size: 1rem;
	font-weight: 800;
	color: var(--rep-primary);
}

/* ══════════════════════════════════════════════
   FACILITIES
══════════════════════════════════════════════ */
.nawy-facilities { margin-bottom: var(--rep-gap-lg); }

.nawy-facilities__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	direction: rtl;
}

.nawy-fac-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: none;
	border: none;
	direction: rtl;
}

.nawy-fac-item__icon {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: #555;
}
.nawy-fac-item__icon img {
	width: 22px !important;
	height: 22px !important;
	max-width: 22px !important;
	max-height: 22px !important;
	object-fit: contain;
	display: block;
	filter: grayscale(20%);
}
.nawy-fac-item__icon svg {
	width: 20px !important;
	height: 20px !important;
	max-width: 20px !important;
	max-height: 20px !important;
}

.nawy-fac-item__name {
	font-size: .88rem;
	font-weight: 600;
	color: var(--rep-dark);
	white-space: nowrap;
}

@media (max-width: 600px) {
	.nawy-fac-item { padding: 6px 10px; }
	.nawy-fac-item__name { font-size: .82rem; }
}

/* ══════════════════════════════════════════════
   ABOUT (open by default — "عرض أقل" at bottom)
══════════════════════════════════════════════ */
.nawy-about { margin-bottom: var(--rep-gap-lg); }

.nawy-about__body {
	position: relative;
	overflow: hidden;
	max-height: none;        /* open by default */
	transition: max-height .45s ease;
}

/* collapsed state (JS adds this class) */
.nawy-about__body.nawy-about__body--collapsed {
	max-height: 200px;
}

.nawy-about__body.nawy-about__body--collapsed::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 80px;
	background: linear-gradient(to bottom, transparent, #fff);
	pointer-events: none;
}

.nawy-about__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: var(--rep-gap-sm);
	font-size: .88rem;
	font-weight: 700;
	color: var(--rep-primary);
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	transition: opacity .15s;
}
.nawy-about__toggle:hover { opacity: .75; }

.nawy-about__arrow { transition: transform .3s; }
.nawy-about__body--collapsed ~ .nawy-about__toggle .nawy-about__arrow { transform: rotate(0deg); }
.nawy-about__toggle .nawy-about__arrow { transform: rotate(180deg); }

/* ══════════════════════════════════════════════
   VIDEO
══════════════════════════════════════════════ */
.nawy-video { margin-bottom: var(--rep-gap-lg); }
.nawy-video__wrap iframe {
	width: 100%;
	aspect-ratio: 16/9;
	height: auto;
	border-radius: var(--rep-radius-lg);
	border: none;
}

/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.nawy-faq { margin-bottom: var(--rep-gap-lg); }

.nawy-faq__list {
	display: flex;
	flex-direction: column;
	gap: var(--rep-gap-sm);
}

.nawy-faq__item {
	border: 1.5px solid var(--rep-border);
	border-radius: var(--rep-radius-lg);
	overflow: hidden;
	transition: border-color .2s;
}
.nawy-faq__item[open] { border-color: var(--rep-primary); }

.nawy-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--rep-gap-sm) var(--rep-gap);
	font-size: .95rem;
	font-weight: 700;
	color: var(--rep-dark);
	cursor: pointer;
	list-style: none;
	gap: var(--rep-gap);
}
.nawy-faq__q::-webkit-details-marker { display: none; }
.nawy-faq__q::after {
	content: '+';
	font-size: 1.3rem;
	color: var(--rep-primary);
	flex-shrink: 0;
	line-height: 1;
	transition: transform .2s;
}
.nawy-faq__item[open] .nawy-faq__q::after { content: '−'; }

.nawy-faq__a {
	padding: 0 var(--rep-gap) var(--rep-gap);
	font-size: .88rem;
	color: var(--rep-text-muted);
	line-height: 1.7;
}

/* ══════════════════════════════════════════════
   RTL support
══════════════════════════════════════════════ */
[dir="rtl"] .nawy-about__body.nawy-about__body--collapsed::after {
	background: linear-gradient(to bottom, transparent, #fff);
}

[dir="rtl"] .nawy-sticky-bar__inner {
	direction: rtl;
}

/* ══════════════════════════════════════════════
   GLOBAL SVG ICON SIZE ENFORCEMENT
   Prevents inline SVGs from blowing up to full width
══════════════════════════════════════════════ */
.rep-sidebar-dev__icon,
.rep-sidebar-dev__btn svg,
.rep-sidebar-dev__pdf svg,
.rep-contact-box svg {
	width: 18px !important;
	height: 18px !important;
	flex-shrink: 0;
}

/* Nawy CTA button SVG size */
.nawy-cta-btn svg,
.nawy-sticky-bar svg {
	width: 16px !important;
	height: 16px !important;
	flex-shrink: 0;
}

/* ══ MOBILE SPECS TABLE ══ */
@media (max-width: 600px) {
	.nawy-specs-grid { grid-template-columns: repeat(2, 1fr); }
	.nawy-specs-grid__item { padding: 10px 12px; }
	.nawy-specs-grid__label { font-size: .65rem; }
	.nawy-specs-grid__value { font-size: .82rem; }
}
