/* ── Inner Page Styles ── */

/* ── About / Corporate Profile ── */
.page-corporate {
	padding: var(--cires-space-3xl) 0;
}

.page-corporate__content {
	max-width: var(--cires-container-readable);
	margin: 0 auto;
	padding: 0 var(--cires-gutter);
}

.page-corporate__content p {
	font-size: var(--cires-text-base);
	color: var(--cires-neutral-700);
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

/* ── Management Team ── */
.page-management {
	padding: var(--cires-space-3xl) 0;
}

.page-management__section {
	margin-bottom: 3rem;
}

.page-management__role-title {
	max-width: var(--cires-container);
	margin: 0 auto 2rem;
	padding: 0 var(--cires-gutter);
	font-family: var(--cires-font-heading);
	font-weight: var(--cires-heading-weight);
	font-size: var(--cires-h3-size);
	color: var(--cires-color-heading);
}

.page-management__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--cires-space-xl);
	max-width: var(--cires-container);
	margin: 0 auto;
	padding: 0 var(--cires-gutter);
}

@media (max-width: 47.99875em) {
	.page-management__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 29.99875em) {
	.page-management__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 29.99875em) {
	.page-management__grid {
		grid-template-columns: 1fr;
	}
}

.team-card {
	text-align: left;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
	transform: translateY(-2px);
}

.team-card__photo {
	width: 100%;
	aspect-ratio: 3/4;
	overflow: hidden;
	border-radius: var(--cires-radius-md);
	margin-bottom: 1rem;
	background: var(--cires-neutral-200);
}

.team-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-card__name {
	font-family: var(--cires-font-heading);
	font-weight: var(--cires-heading-weight);
	font-size: var(--cires-text-lg);
	color: var(--cires-color-heading);
	margin-bottom: 0.25rem;
}

.team-card__position {
	font-size: var(--cires-text-sm);
	color: var(--cires-color-primary);
	margin-bottom: 0.75rem;
}

.team-card__bio {
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-600);
	line-height: 1.6;
}

/* ── Vision Mission ── */
.page-vm {
	padding: var(--cires-space-3xl) 0;
}

.page-vm__section {
	max-width: var(--cires-container-readable);
	margin: 0 auto 3rem;
	padding: 0 var(--cires-gutter);
}

.page-vm__label {
	font-family: var(--cires-font-heading);
	font-weight: var(--cires-heading-weight);
	font-size: var(--cires-h3-size);
	color: var(--cires-color-heading);
	margin-bottom: 1rem;
}

.page-vm__text {
	font-size: var(--cires-text-base);
	color: var(--cires-neutral-700);
	line-height: 1.8;
}

/* ── Awards ── */
.page-awards {
	padding: var(--cires-space-3xl) 0;
}

.awards-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--cires-space-lg);
	max-width: var(--cires-container);
	margin: 0 auto;
	padding: 0 var(--cires-gutter);
}

@media (max-width: 61.99875em) { .awards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 47.99875em) { .awards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 29.99875em) { .awards-grid { grid-template-columns: 1fr; } }

.award-card {
	background: var(--cires-neutral-50);
	border-radius: var(--cires-radius-md);
	padding: 1.5rem;
	text-align: left;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.award-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--cires-shadow-md);
}

.award-card__year {
	font-size: var(--cires-text-sm);
	color: var(--cires-color-primary);
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.award-card__title {
	font-family: var(--cires-font-heading);
	font-weight: var(--cires-heading-weight);
	font-size: var(--cires-text-base);
	color: var(--cires-color-heading);
	line-height: 1.3;
}

.award-card__body {
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-600);
	margin-top: 0.5rem;
}

/* ── Our Projects ── */
.page-projects {
	padding: var(--cires-space-3xl) 0;
}

/* Used by archive-cires_project.php (URL-based filter tabs) */
.projects-filter {
	max-width: var(--cires-container);
	margin: 0 auto 2rem;
	padding: 0 var(--cires-gutter);
}

.projects-toolbar {
	max-width: var(--cires-container);
	margin: 0 auto 2.5rem;
	padding: 0 var(--cires-gutter);
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.projects-search {
	max-width: var(--cires-container);
}

.projects-search .cires-search {
	box-shadow: 0 1px 4px rgba(0, 34, 70, 0.06);
}

/* ── Unified filter chips row ── */
.projects-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-start;
}

.filter-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.filter-group__label {
	font-size: var(--cires-text-xs);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--cires-neutral-400);
}

.filter-group__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.filter-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.85rem;
	border: 1px solid var(--cires-neutral-200);
	border-radius: 100px;
	background: var(--cires-white);
	color: var(--cires-neutral-500);
	font-family: var(--cires-font-body);
	font-size: var(--cires-text-sm);
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s ease;
	white-space: nowrap;
	user-select: none;
}

.filter-chip:hover {
	border-color: var(--cires-color-primary);
	color: var(--cires-color-primary);
	background: var(--cires-turquoise-0);
}

.filter-chip.active {
	background: var(--cires-color-primary);
	border-color: var(--cires-color-primary);
	color: var(--cires-white);
}

.filter-chip.active:hover {
	background: var(--cires-turquoise-8);
	border-color: var(--cires-turquoise-8);
}

/* Scrollable chips on narrow screens */
@media (max-width: 47.99875em) {
	.filter-group__chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 0.25rem;
	}

	.filter-chip {
		flex-shrink: 0;
	}
}

@media (max-width: 29.99875em) {
	.projects-filters {
		flex-direction: column;
		gap: 0.75rem;
	}
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--cires-space-lg);
	max-width: var(--cires-container);
	margin: 0 auto;
	padding: 0 var(--cires-gutter);
}

@media (max-width: 47.99875em) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 29.99875em) { .projects-grid { grid-template-columns: 1fr; } }

.project-card {
	position: relative;
	border-radius: var(--cires-radius-md);
	overflow: hidden;
	display: block;
	text-decoration: none;
}

.project-card__image {
	aspect-ratio: 16/10;
	overflow: hidden;
}

.project-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img {
	transform: scale(1.05);
}

.project-card__body {
	padding: 1.25rem;
	background: var(--cires-white);
}

.project-card__title {
	font-family: var(--cires-font-heading);
	font-weight: var(--cires-heading-weight);
	font-size: var(--cires-text-lg);
	color: var(--cires-color-heading);
	margin-bottom: 0.5rem;
}

.project-card__location {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: var(--cires-text-xs);
	font-weight: 600;
	color: var(--cires-color-primary);
	background: var(--cires-turquoise-0);
	padding: 0.25rem 0.625rem;
	border-radius: 99px;
	margin-top: 0.5rem;
	white-space: nowrap;
}

.project-card__desc {
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-600);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ── Project Detail ── */
html {
	scroll-behavior: smooth;
}

.project-detail__hero {
	position: relative;
	min-height: 60vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}

.site-main > .project-detail__hero:first-child {
	margin-top: calc(-1 * var(--cires-header-height));
}

.site-main > .project-detail__hero:first-child .project-detail__hero-content {
	padding-top: calc(var(--cires-space-3xl) + var(--cires-header-height));
}

.project-detail__hero-bg {
	position: absolute;
	inset: 0;
}

.project-detail__hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-detail__hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		var(--cires-overlay-to) 0%,
		var(--cires-overlay-mid) 38%,
		transparent 72%
	);
}

.project-detail__hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--cires-container);
	margin: 0 auto;
	padding: var(--cires-space-3xl) var(--cires-gutter) 3.5rem;
	color: var(--cires-white);
}

.project-detail__hero-content :is(
	.project-detail__hero-title,
	.project-detail__hero-tagline,
	.project-detail__hero-location,
	.project-detail__hero-parent,
	.product-hero__price
) {
	text-shadow: var(--cires-hero-text-shadow);
}

.project-detail__hero-title {
	font-family: var(--cires-font-heading);
	font-weight: var(--cires-heading-weight);
	font-size: var(--cires-h1-size);
	margin: 0;
	max-width: 720px;
	color: #ffffff;
	line-height: 1.15;
}

.project-detail__hero-tagline {
	margin: 0 0 0.5rem;
	opacity: 0.92;
	font-weight: 500;
	letter-spacing: 0.05em;
	font-size: var(--cires-text-lg);
}

.project-detail__hero-location {
	margin: 0.75rem 0 0;
	opacity: 0.95;
	font-size: var(--cires-text-md);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.project-detail__hero-parent {
	margin: 0 0 0.5rem;
	opacity: 0.9;
	font-size: var(--cires-text-sm);
}

.project-detail__hero-parent a {
	color: var(--cires-white);
	text-decoration: none;
	text-shadow: var(--cires-hero-text-shadow);
}

.project-detail__hero-parent a:hover {
	text-decoration: underline;
}

.project-detail__hero-badge-wrap {
	margin: 0.5rem 0 0;
}

#project-about,
#project-clusters {
	scroll-margin-top: 120px;
}

/* Sidebar mini nav */
.project-detail__nav-card {
	background: var(--cires-white);
	border-radius: var(--cires-radius-lg);
	padding: 1.5rem;
	position: sticky;
	top: 100px;
	border: 1px solid var(--cires-neutral-200);
	box-shadow: var(--cires-shadow-sm);
}

.project-theme--highrise .project-detail__nav-card {
	background: var(--project-color-sidebar);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 10px 30px rgba(36, 59, 92, 0.45);
}

.project-theme--office .project-detail__nav-card {
	background: var(--project-color-sidebar);
	border: 1px solid rgba(0, 57, 117, 0.08);
	box-shadow: 0 10px 30px rgba(0, 57, 117, 0.05);
}

.project-detail__nav-title {
	font-family: var(--cires-font-heading);
	font-size: var(--cires-text-lg);
	font-weight: 700;
	color: var(--project-color-heading, var(--cires-neutral-900));
	margin: 0 0 1.25rem;
	line-height: 1.3;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--project-color-primary, var(--cires-primary));
}

.project-detail__nav-list {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.project-detail__nav-link {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.75rem 0.875rem;
	color: var(--cires-neutral-700);
	text-decoration: none;
	font-size: var(--cires-text-sm);
	font-weight: 600;
	transition: background var(--cires-transition), color var(--cires-transition);
}

.project-detail__nav-link:hover {
	background: var(--cires-neutral-50);
	color: var(--project-color-primary, var(--cires-primary));
}

.project-theme--highrise .project-detail__nav-link {
	color: var(--cires-neutral-300);
}

.project-theme--highrise .project-detail__nav-link:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--project-color-primary);
}

.project-theme--office .project-detail__nav-link:hover {
	background: var(--cires-neutral-100);
}

.project-detail__nav-link svg {
	flex-shrink: 0;
	opacity: 0.7;
}

.project-detail__nav-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.875rem 1rem;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 47.99875em) {
	.project-detail__hero-title {
		font-size: var(--cires-h2-size);
	}
}

.project-detail__content {
	padding: var(--cires-space-3xl) 0;
	max-width: var(--cires-container);
	margin: 0 auto;
	padding-left: var(--cires-gutter);
	padding-right: var(--cires-gutter);
}

.project-detail__content p {
	color: var(--cires-neutral-700);
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.project-detail__layout {
	display: grid;
	grid-template-columns: 1fr var(--cires-sidebar-width);
	gap: var(--cires-space-xl);
	padding: 2rem 0;
}

@media (max-width: 47.99875em) {
	.project-detail__layout {
		grid-template-columns: 1fr;
	}
}

.project-detail__info-card {
	background: var(--cires-neutral-50);
	border-radius: var(--cires-radius-md);
	padding: 1.5rem;
	position: sticky;
	top: 100px;
}

.project-detail__info-title {
	font-family: var(--cires-font-heading);
	font-weight: var(--cires-heading-weight);
	font-size: var(--cires-text-lg);
	color: var(--cires-color-heading);
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--cires-neutral-200);
}

.project-detail__info-row {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin-bottom: 1rem;
}

.project-detail__info-label {
	font-size: var(--cires-text-xs);
	color: var(--cires-neutral-500);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.project-detail__info-value {
	font-size: var(--cires-text-sm);
	color: var(--cires-color-heading);
	font-weight: 500;
}

.project-detail__section-title {
	font-family: var(--cires-font-heading);
	font-weight: var(--cires-heading-weight);
	font-size: var(--cires-h3-size);
	color: var(--cires-color-heading);
	margin-bottom: 1rem;
}

/* Gallery */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
	margin: var(--cires-space-xl) auto;
	max-width: var(--cires-container);
}

.gallery-grid img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	border-radius: var(--cires-radius-sm);
	cursor: pointer;
	transition: opacity 0.3s;
}

.gallery-grid img:hover {
	opacity: 0.85;
}

@media (max-width: 35.99875em) {
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 29.99875em) {
	.gallery-grid {
		grid-template-columns: 1fr;
	}
}

/* Products within project */
.products-section {
	padding: var(--cires-space-3xl) 0;
	background: var(--cires-neutral-50);
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--cires-space-lg);
	max-width: var(--cires-container);
	margin: 0 auto;
	padding: 0 var(--cires-gutter);
}

@media (max-width: 47.99875em) { .products-grid { grid-template-columns: 1fr; } }

/* ── Project Detail Layout ── */
.project-detail__layout {
	display: grid;
	grid-template-columns: 1fr var(--cires-sidebar-width);
	gap: 2.5rem;
	padding: 2rem 0 3rem;
}

@media (max-width: 61.99875em) {
	.project-detail__layout {
		grid-template-columns: 1fr;
	}
}

.project-detail__main {
	min-width: 0;
}

.project-detail__section-title {
	font-family: var(--cires-font-heading);
	font-weight: var(--cires-heading-weight);
	font-size: var(--cires-h3-size);
	color: var(--cires-color-heading);
	margin-bottom: 1.5rem;
}

.project-detail__gallery {
	margin-top: 2rem;
}

/* Sidebar */
.project-detail__sidebar {
	position: sticky;
	top: calc(var(--cires-header-height) + 1.5rem);
	align-self: start;
}

.project-detail__info-card {
	background: var(--cires-neutral-50);
	border-radius: var(--cires-radius-md);
	padding: 1.75rem;
}

.project-detail__info-title {
	font-family: var(--cires-font-heading);
	font-weight: var(--cires-heading-weight);
	font-size: var(--cires-text-lg);
	color: var(--cires-color-heading);
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--cires-neutral-200);
}

.project-detail__info-row {
	margin-bottom: 1rem;
}

.project-detail__info-label {
	display: block;
	font-size: var(--cires-text-xs);
	color: var(--cires-neutral-500);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.25rem;
}

.project-detail__info-value {
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-800);
	font-weight: 500;
}

/* ── Product Detail ── */
.product-detail__specs-bar {
	background: var(--cires-color-secondary); /* Ateneo Blue */
	color: var(--cires-white);
	padding: 1.25rem 0;
}

.product-detail__specs-grid {
	display: flex;
	flex-wrap: wrap;
	gap: var(--cires-space-xl);
	justify-content: center;
}

.product-detail__spec-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--cires-text-sm);
}

.product-detail__spec-item svg {
	flex-shrink: 0;
	color: var(--cires-color-accent-gold);
}

.product-detail__gallery-section {
	padding: var(--cires-space-xl) 0;
}

.product-detail__specs-table {
	border: 1px solid var(--cires-neutral-200);
	border-radius: var(--cires-radius-md);
	overflow: hidden;
}

.product-detail__specs-row {
	display: flex;
	padding: 0.875rem 1.25rem;
	border-bottom: 1px solid var(--cires-neutral-200);
}

.product-detail__specs-row:last-child {
	border-bottom: none;
}

.product-detail__specs-row:nth-child(even) {
	background: var(--cires-white);
}

.product-detail__specs-label {
	flex: 0 0 40%;
	font-weight: 500;
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-800);
}

.product-detail__specs-value {
	flex: 1;
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-600);
}

.product-detail__floorplans-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--cires-space-lg);
}

@media (max-width: 35.99875em) {
	.product-detail__floorplans-grid {
		grid-template-columns: 1fr;
	}
}

.product-detail__floorplan-item {
	text-align: left;
}

.product-detail__floorplan-image {
	background: var(--cires-neutral-50);
	border-radius: var(--cires-radius-md);
	overflow: hidden;
	margin-bottom: 0.75rem;
}

.product-detail__floorplan-image img {
	width: 100%;
	height: auto;
}

.product-detail__floorplan-label {
	font-size: var(--cires-text-sm);
	font-weight: 500;
	color: var(--cires-neutral-700);
}

/* ── News / Media ── */
.page-news {
	padding: var(--cires-space-3xl) 0;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--cires-space-lg);
	max-width: var(--cires-container);
	margin: 0 auto;
	padding: 0 var(--cires-gutter);
}

@media (max-width: 47.99875em) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 29.99875em) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
	border-radius: var(--cires-radius-md);
	overflow: hidden;
	background: var(--cires-white);
	box-shadow: var(--cires-shadow-sm);
	text-decoration: none;
	display: block;
	transition: box-shadow var(--cires-transition);
}

.news-card:hover {
	box-shadow: var(--cires-shadow-md);
}

.news-card__image {
	aspect-ratio: 16/9;
	overflow: hidden;
}

.news-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.news-card:hover .news-card__image img {
	transform: scale(1.05);
}

.news-card__body {
	padding: 1.25rem;
}

.news-card__date {
	font-size: var(--cires-text-xs);
	color: var(--cires-neutral-500);
	margin-bottom: 0.5rem;
}

.news-card__category {
	display: inline-block;
	font-size: var(--cires-text-xs);
	color: var(--cires-color-primary);
	font-weight: 600;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

.news-card__title {
	font-family: var(--cires-font-heading);
	font-weight: var(--cires-heading-weight);
	font-size: var(--cires-text-base);
	color: var(--cires-color-heading);
	line-height: 1.4;
	margin-bottom: 0.5rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card__excerpt {
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-600);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ── Mobile: horizontal menu-list cards (same style as homepage) ── */
@media (max-width: 47.99875em) {
	.project-card,
	.news-card {
		display: flex !important;
		flex-direction: row;
		align-items: stretch;
	}

	.project-card__image,
	.news-card__image {
		flex: 0 0 120px;
		aspect-ratio: auto;
		height: auto;
		min-height: 120px;
	}

	.project-card__body,
	.news-card__body {
		padding: var(--cires-space-md);
		flex: 1;
		min-width: 0;
	}

	.project-card__title {
		font-size: var(--cires-text-sm);
		font-weight: 600;
		margin-bottom: 0.15rem;
	}

	.project-card__location {
		font-size: var(--cires-text-xs);
	}

	.project-card__price {
		font-size: var(--cires-text-xs);
		font-weight: 600;
		margin: 0;
	}

	.project-card__desc {
		display: none;
	}

	/* News card elements */
	.news-card__title {
		font-size: var(--cires-text-sm);
		font-weight: 600;
		margin-bottom: 0.15rem;
		-webkit-line-clamp: 2;
	}

	.news-card__category {
		font-size: var(--cires-text-xs);
		font-weight: 500;
		color: var(--cires-neutral-500);
		letter-spacing: 0;
		margin-bottom: 0;
	}

	.news-card__date {
		font-size: var(--cires-text-xs);
		margin-bottom: 0.15rem;
	}

	.news-card__excerpt {
		display: none;
	}

	.news-card__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	/* Overlay price badge adjustment */
	.project-card__overlay-badge {
		font-size: var(--cires-text-xs);
		padding: 0.1rem 0.45rem;
		top: 0.4rem;
		right: 0.4rem;
	}
}

@media (max-width: 35.99875em) {
	.project-card__image,
	.news-card__image {
		flex: 0 0 100px;
		min-height: 100px;
	}
}

/* ── Mobile: cluster card body price, specs, promo ── */
.project-card__price-mobile,
.project-card__specs-mobile,
.project-card__promo-mobile {
	display: none;
}

@media (max-width: 47.99875em) {
	.project-card--cluster .project-card__overlay-badge--price {
		display: none;
	}

	/* Hide promo pill overlay on mobile for project detail cards */
	.products-grid .project-card__promo-badge {
		display: none;
	}

	.project-card__price-mobile {
		display: block;
		font-size: var(--cires-text-xs);
		font-weight: 700;
		color: var(--cires-color-primary);
		margin: 0 0 0.15rem;
	}

	.project-card__specs-mobile {
		display: block;
		font-size: var(--cires-text-xs);
		font-weight: 400;
		color: var(--cires-neutral-500);
		margin: 0.1rem 0;
	}

	.project-card__promo-mobile {
		display: block;
		font-size: var(--cires-text-xs);
		font-weight: 600;
		color: var(--cires-color-accent-gold-900);
		margin: 0.1rem 0 0;
	}
}

/* Single News */
.single-news {
	max-width: var(--cires-container-readable);
	margin: 0 auto;
	padding: var(--cires-space-3xl) var(--cires-gutter);
}

.single-news__header {
	margin-bottom: var(--cires-space-2xl);
	text-align: left;
}

.single-news__category {
	margin-bottom: var(--cires-space-md);
	display: flex;
	gap: 0.5rem;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.single-news__title {
	font-size: var(--cires-h1-size);
	line-height: var(--cires-h1-lh);
	font-family: var(--cires-font-heading);
	color: var(--cires-color-heading);
	margin-bottom: var(--cires-space-md);
}

.single-news__meta {
	display: flex;
	justify-content: flex-start;
	gap: 1rem;
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-500);
}

.single-news__featured {
	margin-bottom: var(--cires-space-3xl);
	border-radius: var(--cires-radius-lg);
	overflow: hidden;
	box-shadow: var(--cires-shadow-sm);
}

.single-news__featured img {
	width: 100%;
	height: auto;
	display: block;
}

/* Inline Related Items inside Article */
.inline-related-items {
	margin: var(--cires-space-3xl) 0;
	padding: 0;
}

.inline-related-items__heading {
	font-family: var(--cires-font-heading);
	font-size: var(--cires-h4-size);
	margin-top: 0;
	margin-bottom: var(--cires-space-lg);
	color: var(--cires-color-heading);
}

.inline-related-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--cires-space-lg);
	padding: 0;
	max-width: 100%;
}

@media (max-width: 48em) {
	.inline-related-grid {
		grid-template-columns: 1fr;
	}
}

/* ── Article Body ── */
.single-news__content {
	font-size: var(--cires-text-md);
	line-height: 1.8;
	color: var(--cires-color-text);
	word-wrap: break-word;
}

.single-news__content p {
	margin-bottom: 1.5rem;
}

.single-news__content img {
	border-radius: var(--cires-radius-md);
	margin: 2rem 0;
	max-width: 100%;
	height: auto;
}

/* Headings within article */
.single-news__content h2 {
	font-size: var(--cires-h3-size);
	margin: 2.5rem 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--cires-neutral-200);
	color: var(--cires-color-heading);
}

.single-news__content h3 {
	font-size: var(--cires-h4-size);
	margin: 2rem 0 0.75rem;
	color: var(--cires-color-heading);
}

.single-news__content h4 {
	font-size: var(--cires-text-lg);
	margin: 1.75rem 0 0.5rem;
	color: var(--cires-color-heading);
}

/* Inline links within article */
.single-news__content a {
	color: var(--cires-color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color var(--cires-transition-fast);
}

.single-news__content a:hover {
	color: var(--cires-color-secondary);
}

/* Lists within article */
.single-news__content ul,
.single-news__content ol {
	margin: 0 0 1.5rem;
	padding-left: 1.75rem;
}

.single-news__content li {
	margin-bottom: 0.5rem;
	line-height: 1.7;
}

.single-news__content li:last-child {
	margin-bottom: 0;
}

/* Nested lists */
.single-news__content ul ul,
.single-news__content ol ul,
.single-news__content ul ol,
.single-news__content ol ol {
	margin-top: 0.5rem;
	margin-bottom: 0;
}

/* Blockquote */
.single-news__content blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid var(--cires-color-primary);
	background: var(--cires-neutral-50);
	border-radius: 0 var(--cires-radius-md) var(--cires-radius-md) 0;
	font-style: italic;
	color: var(--cires-neutral-700);
}

.single-news__content blockquote p {
	margin-bottom: 0.5rem;
}

.single-news__content blockquote p:last-child {
	margin-bottom: 0;
}

.single-news__content blockquote cite {
	display: block;
	margin-top: 0.75rem;
	font-size: var(--cires-text-sm);
	font-style: normal;
	color: var(--cires-neutral-500);
}

/* Tables within article */
.single-news__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	font-size: var(--cires-text-sm);
	line-height: 1.6;
}

.single-news__content th,
.single-news__content td {
	padding: 0.75rem 1rem;
	border: 1px solid var(--cires-neutral-200);
	text-align: left;
	vertical-align: top;
}

.single-news__content th {
	background: var(--cires-neutral-50);
	font-weight: 600;
	color: var(--cires-color-heading);
}

.single-news__content tr:nth-child(even) td {
	background: var(--cires-neutral-50);
}

/* Figure & figcaption */
.single-news__content figure {
	margin: 2rem 0;
}

.single-news__content figcaption {
	margin-top: 0.5rem;
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-500);
	text-align: center;
	line-height: 1.5;
}

/* Horizontal rule */
.single-news__content hr {
	margin: 2.5rem 0;
	border: none;
	border-top: 2px solid var(--cires-neutral-200);
}

/* Inline emphasis */
.single-news__content strong {
	font-weight: 600;
	color: var(--cires-color-heading);
}

/* Code inline */
.single-news__content code {
	font-size: var(--cires-text-sm);
	padding: 0.15rem 0.4rem;
	background: var(--cires-neutral-50);
	border-radius: var(--cires-radius-sm);
	color: var(--cires-neutral-800);
}

/* Table wrapper for horizontal scroll on small screens */
.single-news__content .table-wrapper,
.single-news__content table[style*="overflow"] {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 2rem 0;
}

.single-news__content .table-wrapper table,
.single-news__content table[style*="overflow"] {
	margin: 0;
}

/* ── Career ── */
.page-career {
	padding: var(--cires-space-3xl) 0;
	max-width: var(--cires-container);
	margin: 0 auto;
	padding-left: var(--cires-gutter);
	padding-right: var(--cires-gutter);
}

.career-intro {
	max-width: var(--cires-container-readable);
	margin: 0 auto 3rem 0;
	text-align: left;
}

.career-intro p {
	color: var(--cires-neutral-700);
	line-height: 1.8;
}

.career-table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.career-table {
	width: 100%;
	border-collapse: collapse;
}

.career-table th {
	background: var(--cires-color-secondary); /* Ateneo Blue */
	color: var(--cires-white);
	font-weight: 500;
	padding: 0.875rem 1.25rem;
	text-align: left;
	font-size: var(--cires-text-sm);
}

.career-table td {
	padding: 0.875rem 1.25rem;
	border-bottom: 1px solid var(--cires-neutral-200);
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-700);
}

.career-table tr:hover td {
	background: var(--cires-neutral-50);
}

.career-table a {
	color: var(--cires-color-primary);
	text-decoration: underline;
}

.career-table__action {
	text-align: center;
	white-space: nowrap;
}

/* ── Career small button (row-level Lamar) ── */
.btn-sm {
	padding: 0.3rem 0.9rem;
	font-size: var(--cires-text-sm);
}

@media (max-width: 47.99875em) {
	.career-table th:last-child,
	.career-table td:last-child {
		display: none;
	}
}

@media (max-width: 35.99875em) {
	.career-table th,
	.career-table td {
		padding: 0.625rem 0.75rem;
		font-size: var(--cires-text-xs);
	}
}

/* ── Career Apply CTA ── */
.career-apply {
	padding: var(--cires-space-4xl) 0 var(--cires-space-5xl);
}

.career-apply__inner {
	max-width: 36rem;
	margin: 0 auto;
	text-align: center;
}

.career-apply__title {
	font-family: var(--cires-font-heading);
	font-size: var(--cires-h3-size);
	font-weight: 700;
	color: var(--cires-color-heading);
	margin: 0 0 var(--cires-space-md);
}

.career-apply__desc {
	font-size: var(--cires-text-base);
	color: var(--cires-neutral-700);
	line-height: 1.7;
	margin: 0 0 var(--cires-space-xl);
}

/* ── Career Apply Modal ── */
.career-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--cires-space-lg);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.career-modal[aria-hidden="false"] {
	opacity: 1;
	visibility: visible;
}

.career-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(26, 26, 26, 0.55);
	cursor: pointer;
}

.career-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 32rem;
	max-height: 85vh;
	overflow-y: auto;
	background: var(--cires-white);
	border-radius: var(--cires-radius-lg);
	padding: var(--cires-space-2xl) var(--cires-space-xl);
	box-shadow: 0 24px 48px rgba(0, 34, 70, 0.25);
}

.career-modal__close {
	position: absolute;
	top: var(--cires-space-md);
	right: var(--cires-space-md);
	width: 2.75rem;
	height: 2.75rem;
	border: none;
	border-radius: var(--cires-radius-full);
	background: var(--cires-neutral-100);
	font-size: var(--cires-text-xl);
	line-height: 1;
	color: var(--cires-neutral-700);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.career-modal__close:hover {
	background: var(--cires-neutral-200);
}

.career-modal__title {
	font-family: var(--cires-font-heading);
	font-size: var(--cires-h4-size);
	font-weight: 700;
	color: var(--cires-color-heading);
	margin: 0 0 var(--cires-space-xl);
}

.career-modal .form-group {
	margin-bottom: var(--cires-space-md);
}

.career-modal .form-label {
	display: block;
	font-size: var(--cires-text-sm);
	font-weight: 600;
	color: var(--cires-color-heading);
	margin-bottom: var(--cires-space-3xs);
}

.career-modal .form-input {
	width: 100%;
	padding: 0.625rem 0.75rem;
	border: 1px solid var(--cires-neutral-300);
	border-radius: var(--cires-radius-md);
	font-family: var(--cires-font-body);
	font-size: var(--cires-text-base);
	color: var(--cires-color-heading);
	box-sizing: border-box;
}

.career-modal .form-input:focus {
	outline: none;
	border-color: var(--cires-color-primary);
	box-shadow: 0 0 0 2px var(--cires-turquoise-0);
}

.career-modal .btn {
	width: 100%;
	margin-top: var(--cires-space-sm);
}

.form-message {
	padding: 1rem;
	margin-bottom: 1.5rem;
	border-radius: var(--cires-radius-md);
	font-size: var(--cires-text-sm);
	line-height: 1.5;
}

.form-message--success {
	background: #d4edda;
	color: #155724;
}

.form-message--error {
	background: #f8d7da;
	color: #721c24;
}

body.career-modal-open {
	overflow: hidden;
}

/* ── Contact ── */
.page-contact {
	padding: var(--cires-space-3xl) 0;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 3rem;
	max-width: var(--cires-container);
	margin: 0 auto;
	padding: 0 var(--cires-gutter);
}

@media (max-width: 47.99875em) {
	.contact-grid {
		grid-template-columns: 1fr;
	}
}

.contact-form {
	background: var(--cires-neutral-50);
	padding: 2rem;
	border-radius: var(--cires-radius-md);
}

.contact-offices {
	display: flex;
	flex-direction: column;
	gap: var(--cires-space-xl);
}

.contact-office__title {
	font-family: var(--cires-font-heading);
	font-weight: var(--cires-heading-weight);
	font-size: var(--cires-text-lg);
	color: var(--cires-color-heading);
	margin-bottom: 0.75rem;
}

.contact-office__address {
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-700);
	line-height: 1.6;
	margin-bottom: 0.5rem;
}

.contact-office__phone {
	font-size: var(--cires-text-sm);
}

.contact-office__phone a {
	color: var(--cires-color-primary);
}

/* ── Investor Relations ── */
.page-ir {
	padding: var(--cires-space-3xl) 0;
	max-width: var(--cires-container);
	margin: 0 auto;
	padding-left: var(--cires-gutter);
	padding-right: var(--cires-gutter);
}

.ir-docs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--cires-space-lg);
}

@media (max-width: 47.99875em) { .ir-docs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 29.99875em) { .ir-docs-grid { grid-template-columns: 1fr; } }

.ir-doc-card {
	background: var(--cires-neutral-50);
	border-radius: var(--cires-radius-md);
	padding: 1.5rem;
	text-align: left;
	text-decoration: none;
	display: block;
	transition: box-shadow var(--cires-transition);
}

.ir-doc-card:hover {
	box-shadow: var(--cires-shadow-md);
}

.ir-doc-card__icon {
	width: 48px;
	height: 48px;
	margin: 0 0 1rem 0;
	color: var(--cires-color-primary);
}

.ir-doc-card__cover {
	border-radius: var(--cires-radius-sm);
	overflow: hidden;
	margin: 0 0 1rem 0;
	aspect-ratio: 3 / 4;
	background: var(--cires-neutral-200);
}

.ir-doc-card__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ir-doc-card__title {
	font-weight: 500;
	font-size: var(--cires-text-base);
	color: var(--cires-color-heading);
	margin-bottom: 0.25rem;
}

.ir-doc-card__date {
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-500);
}

/* ==========================================================================
   ── Dynamic Vibe System Overrides ──
   ========================================================================== */

.project-detail-wrapper {
	background: var(--project-color-bg);
	color: var(--project-color-text);
	transition: background 0.4s ease, color 0.4s ease;
	padding-bottom: 4rem;
}

.project-detail-wrapper .project-detail__content {
	color: var(--project-color-text);
}

.project-detail-wrapper .project-detail__content p {
	color: var(--project-color-text);
	opacity: 0.9;
	font-size: var(--cires-text-md);
	line-height: 1.8;
}

.project-detail-wrapper .project-detail__info-card {
	background: var(--project-color-sidebar);
	border: 1px solid rgba(0, 57, 117, 0.08);
	box-shadow: var(--cires-shadow-md);
	color: var(--project-color-text);
	border-radius: var(--cires-radius-lg);
	transition: background 0.4s ease, border-color 0.4s ease;
}

.project-detail-wrapper.project-theme--highrise .project-detail__info-card {
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 10px 30px rgba(36, 59, 92, 0.45);
}

.project-detail-wrapper.project-theme--office .project-detail__info-card {
	border: 1px solid rgba(0, 57, 117, 0.08);
	box-shadow: 0 10px 30px rgba(0, 57, 117, 0.05);
}

.project-detail-wrapper .project-detail__info-title {
	color: var(--project-color-heading);
	border-bottom: 1px solid rgba(0, 57, 117, 0.1);
	font-weight: 700;
}

.project-detail-wrapper.project-theme--highrise .project-detail__info-title {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-detail-wrapper .project-detail__info-value {
	color: var(--project-color-heading);
}

.project-detail-wrapper .project-detail__info-label {
	color: var(--project-color-primary);
	font-weight: 700;
}

.project-detail-wrapper .project-detail__section-title {
	color: var(--project-color-heading);
	font-weight: 700;
}

.project-detail-wrapper .breadcrumbs a {
	color: var(--project-color-primary);
	text-decoration: none;
	font-weight: 600;
}

.project-detail-wrapper .breadcrumbs a:hover {
	text-decoration: underline;
}

.project-detail-wrapper .breadcrumbs {
	color: var(--project-color-text);
	opacity: 0.8;
	padding: 1.5rem 0;
	border-bottom: 1px solid rgba(0, 57, 117, 0.08);
	margin-bottom: 1.5rem;
}

.project-detail-wrapper.project-theme--highrise .breadcrumbs {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Landed Vibe Speficity */
.project-theme--landed .project-detail__hero-overlay {
	background: linear-gradient(to top, var(--cires-overlay-to) 0%, var(--cires-overlay-mid) 42%, transparent 75%);
}

/* High-rise specific luxury dark gold aesthetic */
.project-theme--highrise .project-detail__hero-overlay {
	background: linear-gradient(to top, var(--cires-overlay-to) 0%, var(--cires-overlay-mid) 35%, transparent 68%);
}

.project-theme--highrise .project-detail__info-row {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding-bottom: 0.75rem;
}
.project-theme--highrise .project-detail__info-row:last-child {
	border-bottom: none;
}

/* Office Vibe Crisp Slate Blue and Structural Cleanliness */
.project-theme--office .project-detail__hero-overlay {
	background: linear-gradient(to top, var(--cires-overlay-to) 0%, var(--cires-overlay-mid) 40%, transparent 72%);
}

.project-theme--office .project-detail__info-row {
	border-bottom: 1px solid rgba(0, 57, 117, 0.05);
	padding-bottom: 0.75rem;
}

/* Products in projects theme integration */
.project-detail-wrapper .products-section {
	background: var(--project-color-sidebar);
	border-top: 1px solid rgba(0, 57, 117, 0.08);
	padding: var(--cires-space-3xl) 0;
}

.project-detail-wrapper.project-theme--highrise .products-section {
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-detail-wrapper .products-section h2 {
	color: var(--project-color-heading);
	font-weight: 700;
	margin-bottom: 2rem;
}

.project-detail-wrapper .project-card {
	background: var(--project-color-card-bg);
	border: 1px solid rgba(0, 57, 117, 0.08);
	box-shadow: var(--cires-shadow-sm);
	transition: transform var(--cires-transition), box-shadow var(--cires-transition), border-color var(--cires-transition);
}

.project-detail-wrapper.project-theme--highrise .project-card {
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 5px 15px rgba(36, 59, 92, 0.35);
}

.project-detail-wrapper.project-theme--office .project-card {
	border: 1px solid rgba(0, 57, 117, 0.05);
	box-shadow: 0 5px 15px rgba(0, 57, 117, 0.02);
}

.project-detail-wrapper .project-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--cires-shadow-md);
}

.project-detail-wrapper.project-theme--highrise .project-card:hover {
	box-shadow: 0 10px 25px rgba(197, 168, 128, 0.2);
	border-color: var(--project-color-primary);
}

.project-detail-wrapper .project-card__title {
	color: var(--project-color-heading);
	font-weight: 700;
}

.project-detail-wrapper .project-card__location {
	color: var(--project-color-primary);
	font-weight: 600;
	background: rgba(255, 255, 255, 0.1);
}

.project-detail-wrapper .project-card__desc {
	color: var(--project-color-text);
	opacity: 0.8;
}

.project-detail-wrapper .project-card__body {
	background: transparent;
}

/* Dynamic Interactive Widget styling */
.project-detail__widget {
	background: var(--project-color-card-bg);
	border-radius: var(--cires-radius-lg);
	padding: 2.5rem;
	margin-top: 3rem;
	border: 1px solid rgba(0, 57, 117, 0.08);
	box-shadow: var(--cires-shadow-sm);
}

.project-theme--highrise .project-detail__widget {
	border: 1px solid rgba(255,255,255,0.08);
	box-shadow: 0 15px 40px rgba(36, 59, 92, 0.4);
}

.project-theme--office .project-detail__widget {
	border: 1px solid rgba(0, 57, 117, 0.05);
	box-shadow: 0 15px 40px rgba(0, 57, 117, 0.03);
}

.project-detail__widget-title {
	color: var(--project-color-heading);
	font-family: var(--cires-font-heading);
	font-weight: 700;
	font-size: var(--cires-h3-size);
	margin-bottom: 1.5rem;
}

/* Call to Action Panel style */
.project-detail__cta-panel {
	background: var(--project-color-secondary);
	color: var(--cires-white);
	border-radius: var(--cires-radius-xl);
	padding: 3.5rem;
	margin-top: 4rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--cires-space-xl);
	border: 1px solid rgba(255,255,255,0.05);
}

.project-theme--highrise .project-detail__cta-panel {
	background: var(--project-color-secondary);
	border: 1px solid var(--project-color-primary);
}

.project-theme--office .project-detail__cta-panel {
	background: var(--project-color-secondary);
	border: 1px solid rgba(255,255,255,0.1);
}

.project-detail__cta-text h3 {
	color: var(--cires-white);
	font-size: var(--cires-text-2xl);
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.project-detail__cta-text p {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 0;
	font-size: var(--cires-text-sm);
}

.project-detail__cta-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	width: 100%;
	max-width: 500px;
}

.project-detail__cta-buttons .btn {
	flex: 1;
	min-width: 180px;
	justify-content: center;
	text-align: left;
	padding: 0.75rem 1.75rem;
	font-weight: 700;
	text-decoration: none;
	transition: background var(--cires-transition), border-color var(--cires-transition), transform var(--cires-transition);
}

.project-detail__cta-buttons .btn-primary {
	background: var(--project-color-primary);
	border: 1px solid var(--project-color-primary);
	color: #ffffff;
}

.project-detail__cta-buttons .btn-primary:hover {
	transform: translateY(-2px);
	filter: brightness(1.1);
}

.project-detail__cta-buttons .btn-outline {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.3);
	color: #ffffff;
}

.project-detail__cta-buttons .btn-outline:hover {
	background: rgba(255,255,255,0.05);
	border-color: #ffffff;
	transform: translateY(-2px);
}

@media (max-width: 47.99875em) {
	.project-detail__cta-panel {
		flex-direction: column;
		text-align: left;
		padding: 2.5rem;
	}
	.project-detail__cta-buttons {
		justify-content: center;
		width: 100%;
	}
	.project-detail__cta-buttons .btn {
		width: 100%;
		text-align: left;
	}
}

/* ── Product Page: Unit Cards ── */

/* Hero price */
.product-hero__price {
	margin-top: 0.75rem;
	font-size: var(--cires-text-xl);
	color: var(--cires-white);
	opacity: 0.95;
}
.product-hero__price strong {
	font-size: var(--cires-text-2xl);
	font-weight: 700;
}

/* Section wrapper */
.product-units {
	padding: var(--cires-space-3xl) 0;
	background: var(--cires-neutral-50);
	position: relative;
}
.product-units::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: var(--cires-color-primary);
}

.product-units__wrapper {
	max-width: var(--cires-container);
	margin: 0 auto;
}

/* Section header */
.product-units__header {
	text-align: left;
	margin-bottom: var(--cires-space-2xl);
}
.product-units__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--cires-turquoise-0);
	color: var(--cires-color-primary);
	font-size: var(--cires-text-sm);
	font-weight: 600;
	padding: 0.4rem 1rem;
	border-radius: var(--cires-radius-full);
	margin-bottom: 1rem;
	letter-spacing: 0.02em;
}
.product-units__title {
	font-family: var(--cires-font-heading);
	font-weight: var(--cires-heading-weight);
	font-size: var(--cires-h2-size);
	color: var(--cires-color-heading);
	margin-bottom: 0.5rem;
}
.product-units__subtitle {
	font-size: var(--cires-text-base);
	color: var(--cires-neutral-600);
	margin-bottom: 0;
}

/* Grid */
.product-units__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: var(--cires-space-lg);
}

/* Individual card */
.unit-card {
	background: var(--cires-white);
	border-radius: var(--cires-radius-lg);
	border: 1px solid var(--cires-neutral-200);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.unit-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--cires-shadow-lg);
	border-color: var(--cires-turquoise-2);
}

/* Card header */
.unit-card__header {
	padding: 1.5rem 1.5rem 1rem;
	border-bottom: 1px solid var(--cires-neutral-200);
	background: var(--cires-white);
}
.unit-card__name {
	font-family: var(--cires-font-heading);
	font-weight: 700;
	font-size: var(--cires-h4-size);
	color: var(--cires-color-heading);
	margin-bottom: 0.5rem;
}
.unit-card__price {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}
.unit-card__price-label {
	font-size: var(--cires-text-xs);
	color: var(--cires-neutral-500);
	letter-spacing: 0.06em;
	font-weight: 500;
}
.unit-card__price-value {
	font-size: var(--cires-text-xl);
	font-weight: 700;
	color: var(--cires-color-primary);
	letter-spacing: -0.01em;
}

/* Specs grid */
.unit-card__specs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	padding: 0;
}
.unit-card__spec {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
	border-bottom: 1px solid var(--cires-neutral-200);
	transition: background 0.2s ease;
}
.unit-card__spec:nth-child(odd) {
	border-right: 1px solid var(--cires-neutral-200);
}
.unit-card__spec:nth-last-child(-n+2) {
	border-bottom: none;
}
/* If odd total, last child spans full width */
.unit-card__spec:last-child:nth-child(odd) {
	border-right: none;
}
.unit-card__spec:hover {
	background: var(--cires-neutral-50);
}
.unit-card__spec-icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--cires-turquoise-0);
	border-radius: var(--cires-radius-md);
	color: var(--cires-color-primary);
}
.unit-card__spec-info {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}
.unit-card__spec-value {
	font-size: var(--cires-text-base);
	font-weight: 600;
	color: var(--cires-color-heading);
	line-height: 1.2;
}
.unit-card__spec-value small {
	font-size: var(--cires-text-xs);
	font-weight: 400;
	color: var(--cires-neutral-500);
}
.unit-card__spec-label {
	font-size: var(--cires-text-xs);
	color: var(--cires-neutral-500);
	line-height: 1.2;
}

/* Card description */
.unit-card__desc {
	padding: 1rem 1.5rem 1.5rem;
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-600);
	line-height: 1.6;
	border-top: 1px solid var(--cires-neutral-200);
}
.unit-card__desc p:last-child {
	margin-bottom: 0;
}

/* Product content section */
.product-content {
	padding: var(--cires-space-3xl) 0;
}

.product-content__inner {
	max-width: var(--cires-container-readable);
	margin: 0 auto;
}
.product-content__inner p {
	color: var(--cires-neutral-700);
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

/* ── Responsive: Product Unit Cards ── */
@media (max-width: 47.99875em) {
	.product-units {
		padding: var(--cires-space-xl) 0;
	}
	.product-units__grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.unit-card__specs {
		grid-template-columns: repeat(2, 1fr);
	}
	.product-hero__price strong {
		font-size: var(--cires-text-xl);
	}
}
@media (max-width: 29.99875em) {
	.unit-card__specs {
		grid-template-columns: 1fr;
	}
	.unit-card__spec:nth-child(odd) {
		border-right: none;
	}
	.unit-card__spec {
		border-bottom: 1px solid var(--cires-neutral-200);
	}
	.unit-card__spec:last-child {
		border-bottom: none;
	}
}

/* ── Enhanced Project Cards (Archive) ── */
.project-card {
	position: relative;
	border-radius: var(--cires-radius-lg);
	overflow: hidden;
	display: block;
	text-decoration: none;
	background: var(--cires-white);
	border: 1px solid var(--cires-neutral-300);
	box-shadow: var(--cires-shadow-sm);
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.project-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--cires-shadow-lg);
	border-color: var(--cires-color-primary);
}

.project-card__overlay-badge {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: var(--cires-badge-overlay-bg);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #ffffff;
	font-size: var(--cires-text-xs);
	font-weight: 600;
	padding: 0.3rem 0.75rem;
	border-radius: var(--cires-radius-full);
	letter-spacing: 0.02em;
}
.project-card__overlay-badge svg {
	flex-shrink: 0;
}

.project-card__price {
	font-size: var(--cires-text-sm);
	color: var(--cires-color-primary);
	font-weight: 700;
	margin-top: 0.25rem;
	margin-bottom: 0;
}

.project-card__excerpt {
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-600);
	line-height: 1.5;
	margin-top: 0.5rem;
	margin-bottom: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ── Project Detail: Video Embed ── */
.project-detail__video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 */
	margin-top: 2rem;
	border-radius: var(--cires-radius-lg);
	overflow: hidden;
	background: var(--cires-neutral-900);
	box-shadow: var(--cires-shadow-md);
}
.project-detail__video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ── Unit Card: Floorplan Image ── */
.unit-card__image {
	width: 100%;
	aspect-ratio: 4/3;
	overflow: hidden;
	background: var(--cires-neutral-50);
	border-bottom: 1px solid var(--cires-neutral-200);
}
.unit-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 1rem;
	transition: transform 0.4s ease;
}
.unit-card:hover .unit-card__image img {
	transform: scale(1.05);
}

/* ── Product Page: CTA Panel ── */
.product-detail__cta-panel {
	background: var(--cires-color-secondary);
	color: var(--cires-white);
	border-radius: var(--cires-radius-xl);
	padding: 3rem;
	margin-top: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--cires-space-xl);
	border: 1px solid rgba(255,255,255,0.05);
}
.product-detail__cta-panel h3 {
	color: var(--cires-white);
	font-size: var(--cires-text-2xl);
	font-weight: 700;
	margin-bottom: 0.5rem;
}
.product-detail__cta-panel p {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 0;
	font-size: var(--cires-text-sm);
}
.product-detail__cta-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	flex-shrink: 0;
}
.product-detail__cta-buttons .btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.75rem;
	font-weight: 700;
	text-decoration: none;
	transition: background var(--cires-transition), border-color var(--cires-transition), transform var(--cires-transition);
	white-space: nowrap;
}
.product-detail__cta-buttons .btn-whatsapp {
	background: #25D366;
	color: #ffffff;
	border: 1px solid #25D366;
}
.product-detail__cta-buttons .btn-whatsapp:hover {
	background: #1ebe5d;
	transform: translateY(-2px);
}
.product-detail__cta-buttons .btn-outline {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.3);
	color: #ffffff;
}
.product-detail__cta-buttons .btn-outline:hover {
	background: rgba(255,255,255,0.05);
	border-color: #ffffff;
	transform: translateY(-2px);
}

/* Project type badge in product hero */
.product-hero__type-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
	font-size: var(--cires-text-xs);
	font-weight: 700;
	padding: 0.35rem 0.85rem;
	border-radius: var(--cires-radius-full);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	text-shadow: var(--cires-hero-text-shadow);
}

@media (max-width: 47.99875em) {
	.product-detail__cta-panel {
		flex-direction: column;
		text-align: left;
		padding: 2rem;
	}
	.product-detail__cta-buttons {
		width: 100%;
		justify-content: center;
	}
	.product-detail__cta-buttons .btn {
		width: 100%;
		justify-content: center;
	}
}

/* ── Promo Banner (cluster detail) ── */
.product-promo-banner {
	background: var(--cires-color-accent-gold);
	padding: 0.875rem 0;
}

.product-promo-banner .container {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	justify-content: center;
}

.product-promo-banner__icon {
	display: flex;
	color: var(--cires-neutral-800);
}

.product-promo-banner__text {
	font-weight: 700;
	font-size: var(--cires-text-sm);
	color: var(--cires-neutral-900);
	letter-spacing: 0.02em;
}

/* ── Specs Bar (cluster detail) ── */
.product-detail__specs-bar {
	background: var(--cires-neutral-50);
	border-bottom: 1px solid var(--cires-neutral-200);
	padding: 1.25rem 0;
}

.product-detail__specs-grid {
	display: flex;
	justify-content: center;
	gap: 2.5rem;
	flex-wrap: wrap;
}

.product-detail__spec-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--cires-text-sm);
	font-weight: 600;
	color: var(--cires-neutral-700);
}

.product-detail__spec-item svg {
	color: var(--cires-primary, #008160);
}

/* ── Section Split (project detail — alternating image + text) ── */
.project-detail__section-split {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--cires-space-xl);
	align-items: start;
	background: var(--project-color-card-bg, var(--cires-white));
	border-radius: var(--cires-radius-lg);
	padding: 2rem;
	border: 1px solid rgba(0, 57, 117, 0.08);
	box-shadow: var(--cires-shadow-sm);
}

.project-detail__section-split--reverse {
	direction: rtl;
}

.project-detail__section-split--reverse > * {
	direction: ltr;
}

.project-detail__section-split--full {
	grid-template-columns: 1fr;
}

.project-detail__section-image {
	border-radius: var(--cires-radius-md);
	overflow: hidden;
}

.project-detail__section-image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

@media (max-width: 47.99875em) {
	.project-detail__section-split {
		grid-template-columns: 1fr;
		padding: 1.25rem;
	}
	.project-detail__section-split--reverse {
		direction: ltr;
	}
}

/* ── Project Detail: Enhanced Section Spacing ── */
/* Moderate gap between main sections — not too tight, not too loose */
.project-detail__main > * + * {
	margin-top: var(--cires-space-2xl);
}

/* Slightly tighter spacing between consecutive facilities cards */
.project-detail__section-split + .project-detail__section-split {
	margin-top: var(--cires-space-xl);
}

/* About text gets comfortable internal breathing room */
.project-detail__content {
	padding: var(--cires-space-xl) 0;
}

/* Remove conflicting override margins now handled by the owl selector */
.project-detail__video-wrapper {
	margin-top: 0;
}

.project-detail__group-summary {
	margin-top: 0;
}

.project-detail__gallery {
	margin-top: 0;
}

.project-detail__widget-content {
	opacity: 0.9;
	line-height: 1.7;
}

.project-detail__group-summary {
	background: var(--cires-neutral-50);
	border: 1px solid rgba(0, 57, 117, 0.08);
	border-radius: var(--cires-radius-md);
	padding: 1.5rem;
	margin-top: var(--cires-space-xl);
}

.project-detail__group-summary h4 {
	margin: 0 0 0.5rem 0;
	color: var(--project-color-heading);
	font-size: var(--cires-text-base);
	letter-spacing: 0.05em;
}

.project-detail__group-summary p {
	margin: 0;
	font-size: var(--cires-text-sm);
	line-height: 1.7;
	opacity: 0.85;
}

.project-card__image-placeholder {
	width: 100%;
	height: 100%;
	background: var(--project-color-secondary);
}

/* ── Cluster Card Promo Badge ── */
.project-card__promo-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	background: var(--cires-color-accent-gold);
	color: var(--cires-neutral-900);
	font-size: var(--cires-text-xs);
	font-weight: 800;
	padding: 0.3rem 0.65rem;
	border-radius: var(--cires-radius-full);
	letter-spacing: 0.03em;
	text-transform: uppercase;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(0, 57, 117, 0.15);
}

/* ── Cluster Card Spec Chips ── */
.project-card__specs {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: var(--cires-text-xs);
	color: var(--cires-neutral-600);
	margin-top: 0.25rem;
}

.project-card__specs-sep {
	opacity: 0.5;
}

/* ── Search Rebar (always-visible search bar on results page) ── */
.search-rebar {
	padding: 2rem 0 0;
}

.search-rebar .container .cires-search {
	box-shadow: 0 2px 12px rgba(0, 34, 70, 0.08);
}

/* ── Search Intent Chips ── */
.search-intent-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.search-intent-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.375rem 0.875rem;
	border-radius: var(--cires-radius-full);
	background: var(--cires-neutral-100);
	border: 1px solid var(--cires-neutral-200);
	color: var(--cires-neutral-700);
	font-size: var(--cires-text-sm);
	font-weight: 600;
	letter-spacing: 0.01em;
}

.search-intent-chip--link {
	text-decoration: none;
	color: var(--cires-color-primary);
	border-color: var(--cires-color-primary);
	background: rgba(0, 129, 96, 0.06);
	transition: background 0.2s, color 0.2s;
}

.search-intent-chip--link:hover {
	background: var(--cires-color-primary);
	color: #fff;
}

.project-card__overlay-badge--price {
	background: var(--cires-color-primary);
}

/* ── Search No-Results State ── */
.search-empty {
	padding: 1rem var(--cires-gutter) 3.5rem;
}

.search-empty__inner {
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
}

.search-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	margin-bottom: 1.5rem;
	border-radius: 50%;
	background: var(--cires-neutral-100);
	color: var(--cires-neutral-400);
}

.search-empty__title {
	font-family: var(--cires-font-heading);
	font-size: var(--cires-text-2xl);
	font-weight: 700;
	color: var(--cires-color-heading);
	margin-bottom: 0.75rem;
}

.search-empty__text {
	color: var(--cires-neutral-600);
	font-size: var(--cires-text-base);
	line-height: 1.6;
	margin-bottom: 2rem;
}

.search-empty__search {
	max-width: 520px;
	margin: 0 auto;
	box-shadow: 0 4px 18px rgba(0, 34, 70, 0.1);
}

/* ── Loading Spinner ── */
.loading-spinner {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--cires-space-3xl);
}

.loading-spinner::after {
	content: '';
	width: 40px;
	height: 40px;
	border: 3px solid var(--cires-neutral-200);
	border-top-color: var(--cires-color-primary);
	border-radius: 50%;
	animation: cires-spin 0.8s linear infinite;
}

@keyframes cires-spin {
	to { transform: rotate(360deg); }
}

.loading-spinner--sm::after {
	width: 24px;
	height: 24px;
	border-width: 2px;
}

/* ── Business Unit card info ── */
.project-card__bu-info {
	font-size: 0.82rem;
	color: var(--cires-neutral-500);
	line-height: 1.5;
}

.project-card__bu-info p {
	margin: 0 0 0.25rem;
}

.project-card__bu-phone,
.project-card__bu-website,
.project-card__bu-hours {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ── Business Unit sidebar contact ── */
.project-detail__bu-contact {
	margin-top: 1rem;
	padding: 1rem;
	border: 1px solid var(--cires-neutral-200);
	border-radius: var(--cires-radius-md);
	font-size: 0.85rem;
	color: var(--cires-neutral-600);
	line-height: 1.6;
}

.project-detail__bu-contact p {
	margin: 0 0 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.project-detail__bu-contact p:last-child {
	margin-bottom: 0;
}

.project-detail__bu-contact svg {
	flex-shrink: 0;
	color: var(--cires-color-primary);
}

