/* ==========================================================================
   Civitas Apartment — main stylesheet (Bootstrap 5.3 + custom)
   Design: Figma "Civítas Apartment" — Home 1440px
   ========================================================================== */

:root {
	--civ-primary: #c38650;      /* Primary/Primary Total */
	--civ-secondary: #d19c6f;    /* Primary/Secondary */
	--civ-black: #1c0f13;        /* Primary/black */
	--civ-neutral: #fcfbfa;      /* Neutral/Neutral */
	--civ-popup: #001416;        /* Neutral/Popup */
	--civ-gray-100: #f3f4f6;
	--civ-gray-200: #e5e7eb;
	--civ-gray-400: #9ca3af;
	--civ-gray-600: #4b5563;
	--civ-border: #d5dae1;
	--civ-muted: #8896ab;
	--civ-white: #fff;

	--civ-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--civ-container: 1200px;
	--civ-gutter: 16px;
	--civ-section-gap: 60px;

	--bs-body-font-family: var(--civ-font);
	--bs-body-color: #000;
	--bs-link-color-rgb: 195, 134, 80;
	--bs-link-hover-color-rgb: 163, 106, 56;
}

body {
	font-family: var(--civ-font);
	color: #000;
	background: var(--civ-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

.civ-skip:focus { position: absolute; z-index: 2000; top: 8px; left: 8px; padding: 8px 16px; background: var(--civ-white); color: var(--civ-black); }
/* Only show the skip link for keyboard users (never after a tap/click or a script focus) */
.civ-skip:focus:not(:focus-visible) { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.civ-container {
	width: 100%;
	max-width: calc(var(--civ-container) + var(--civ-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--civ-gutter);
}

.civ-text-primary { color: var(--civ-primary); }
.civ-text-secondary { color: var(--civ-secondary); }

/* ---------- Buttons ---------- */
.civ-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	border: 0;
	border-radius: 0;
	font-family: var(--civ-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease;
}
.civ-btn--primary { background: var(--civ-primary); color: var(--civ-white); }
.civ-btn--primary:hover,
.civ-btn--primary:focus-visible { background: #a96f3d; color: var(--civ-white); }
.civ-btn--dark { background: var(--civ-black); color: var(--civ-neutral); }
.civ-btn--dark:hover,
.civ-btn--dark:focus-visible { background: var(--civ-primary); color: var(--civ-white); }
.civ-btn--sm { padding: 8px 24px; font-size: 14px; line-height: 20px; }

/* ---------- Section heading ---------- */
.civ-heading { display: flex; flex-direction: column; }
.civ-heading--center { align-items: center; text-align: center; }
.civ-heading--start { align-items: flex-start; text-align: left; }
.civ-heading__title {
	margin: 0;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--civ-black);
}
.civ-heading__line { display: block; width: 120px; height: 3px; margin-top: 10px; }

/* ==========================================================================
   Header
   ========================================================================== */
.civ-header { position: relative; z-index: 1030; background: rgba(0, 20, 22, .8); }
.civ-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: rgba(0, 20, 22, .8); }
.admin-bar .civ-header--overlay { top: 32px; }
@media (max-width: 782px) { .admin-bar .civ-header--overlay { top: 46px; } }

.civ-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	padding-block: 8px;
}
.civ-header__logo { display: block; line-height: 0; flex-shrink: 0; }
.civ-header__logo img { width: 111px; height: 60px; object-fit: cover; }

.civ-nav { gap: 12px; }
.civ-nav .civ-nav__link,
.civ-nav .nav-link {
	padding: 12px 16px;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: var(--civ-gray-200);
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	border-bottom: 1px solid transparent;
	transition: color .2s ease, border-color .2s ease;
}
.civ-nav .nav-link:hover,
.civ-nav .nav-link:focus-visible { color: var(--civ-primary); }
.civ-nav .nav-link.active,
.civ-nav .current-menu-item > .nav-link {
	color: var(--civ-primary);
	font-weight: 500;
	border-bottom-color: var(--civ-primary);
}
.civ-dropdown { border-radius: 0; border: 0; background: var(--civ-popup); padding: 8px 0; }
.civ-dropdown .dropdown-item { color: var(--civ-gray-200); font-size: 15px; padding: 8px 16px; }
.civ-dropdown .dropdown-item:hover,
.civ-dropdown .dropdown-item.active { background: transparent; color: var(--civ-primary); }

.civ-header__toggler { border-color: rgba(229, 231, 235, .4); border-radius: 0; padding: 6px 10px; }
.civ-header__toggler:focus { box-shadow: 0 0 0 2px var(--civ-primary); }

@media (min-width: 1200px) {
	.civ-header__inner { flex-wrap: nowrap; }
	.civ-header__collapse { flex-grow: 1; }
	.civ-nav { margin-inline: auto; }
	.civ-header__cta { flex-shrink: 0; }
}
@media (max-width: 1199.98px) {
	.civ-header__collapse { flex-basis: 100%; }
	.civ-header__collapse .civ-nav { padding: 12px 0 8px; gap: 0; }
	.civ-nav .nav-link { text-align: left; padding: 12px 0; border-bottom: 1px solid rgba(229, 231, 235, .1); }
	.civ-nav .nav-link.active { border-bottom-color: var(--civ-primary); }
	.civ-header__cta { margin: 12px 0 16px; width: 100%; }
	.civ-header--overlay:has(.show, .collapsing) { background: rgba(0, 20, 22, .96); }
}

/* ==========================================================================
   Hero + stats
   ========================================================================== */
.civ-hero { position: relative; }
.civ-hero__media { position: relative; height: clamp(440px, 61.4583vw, 885px); overflow: hidden; background: var(--civ-black); }
.civ-hero__img,
.civ-hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.civ-hero__stats-wrap { position: relative; z-index: 2; margin-top: -61px; }
.civ-hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: #000; opacity: var(--civ-hero-overlay, .3); pointer-events: none; }
.civ-hero__content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 90px 24px; }
.civ-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 700px; text-align: center; }
.civ-hero__heading { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--civ-white); }
.civ-hero__title { margin: 0; font-size: 48px; font-weight: 700; line-height: 1.5; color: var(--civ-white); }
.civ-hero__title .civ-text-primary { color: var(--civ-secondary); }
.civ-hero__subtitle { margin: 0; font-size: 18px; font-weight: 500; line-height: 26px; color: var(--civ-white); }
.civ-hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; }
.civ-hero__note { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--civ-neutral); }
.civ-hero__btn { gap: 10px; padding: 10px 24px; font-size: 16px; font-weight: 500; line-height: 24px; text-transform: uppercase; white-space: nowrap; }
.civ-hero__btn img { flex: 0 0 24px; width: 24px; height: 24px; }
.civ-hero__btn-text + .civ-hero__btn-phone { margin-left: .3em; }
.civ-hero__btn-phone { font-size: 20px; font-weight: 700; line-height: 24px; }
@media (max-width: 991.98px) {
	.civ-hero__title { font-size: 40px; }
}
@media (max-width: 575.98px) {
	.civ-hero__content { padding: 92px 16px 110px; }
	.civ-hero__inner { gap: 20px; }
	.civ-hero__title { font-size: 32px; line-height: 1.35; }
	.civ-hero__subtitle { font-size: 15px; line-height: 22px; }
	.civ-hero__cta { flex-direction: column; gap: 12px; }
	.civ-hero__note { font-size: 17px; }
	.civ-hero__btn { padding: 10px 20px; font-size: 14px; }
	.civ-hero__btn-phone { font-size: 18px; }
}
.civ-hero--no-image .civ-hero__stats-wrap { margin-top: 0; padding-top: 140px; }

.civ-stats {
	display: grid;
	grid-template-columns: repeat(var(--civ-stats-cols, 4), minmax(0, 1fr));
	margin: 0;
	padding: 5px 0;
	list-style: none;
	background: var(--civ-secondary);
	text-align: center;
}
.civ-stats__item { display: flex; flex-direction: column; align-items: center; padding: 16px 32px; }
.civ-stats__number { font-size: 40px; font-weight: 700; line-height: 1.5; color: var(--civ-white); }
.civ-stats__label { font-size: 20px; font-weight: 400; line-height: 1.5; color: var(--civ-gray-200); text-transform: uppercase; }

@media (max-width: 991.98px) {
	.civ-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.civ-stats__item { padding: 14px 16px; }
	.civ-stats__number { font-size: 32px; }
	.civ-stats__label { font-size: 15px; }
}

/* ==========================================================================
   Generic section rhythm (60px between sections on the homepage)
   ========================================================================== */
.civ-section { padding-top: var(--civ-section-gap); }
.civ-has-hero .civ-main { padding-bottom: var(--civ-section-gap); }

/* ==========================================================================
   About — Modern Comfort and Prime Location
   ========================================================================== */
.civ-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 584fr) minmax(0, 552fr);
	gap: 64px;
	align-items: start;
	margin-top: 32px;
}
.civ-about__media { position: relative; width: 100%; aspect-ratio: 584 / 308; }
.civ-about__img { position: absolute; overflow: hidden; height: 80.1948%; }
.civ-about__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.civ-about__img--1 { top: 0; left: 0; width: 55.8219%; }
.civ-about__img--2 { top: 19.8052%; left: 59.9315%; width: 40.0685%; }

.civ-about__body { display: flex; flex-direction: column; gap: 24px; font-size: 18px; line-height: 26px; }
.civ-about__text { color: #000; }
.civ-about__text p { margin: 0 0 26px; }
.civ-about__text > :last-child { margin-bottom: 0; }
.civ-about__tagline { margin: 0; font-weight: 600; font-style: italic; color: var(--civ-primary); }

/* ==========================================================================
   Floor plan
   ========================================================================== */
.civ-floor {
	display: flex;
	align-items: center;
	gap: 48px;
	margin-top: var(--civ-section-gap);
	padding-left: max(var(--civ-gutter), calc((100% - var(--civ-container)) / 2));
	background: var(--civ-gray-100);
}
.civ-floor__content { display: flex; flex-direction: column; gap: 40px; flex: 0 0 auto; width: 552px; max-width: 46%; }
.civ-floor__body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.civ-floor__text { margin: 0; font-size: 18px; line-height: 26px; color: #000; }
.civ-floor__media { position: relative; flex: 1 1 0; min-width: 0; height: 420px; overflow: hidden; }
.civ-floor__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Why choose
   ========================================================================== */
.civ-why__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin-top: 32px;
}
.civ-feature { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.civ-feature__icon { width: 60px; height: 60px; flex-shrink: 0; }
.civ-feature__icon img { display: block; width: 60px; height: 60px; object-fit: contain; }
.civ-feature__body { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.civ-feature__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--civ-black); }
.civ-feature__text { margin: 0; font-size: 16px; line-height: 24px; color: #000; }

/* ==========================================================================
   CTA
   ========================================================================== */
.civ-cta {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	min-height: 370px;
	padding: 64px 48px;
	overflow: hidden;
	text-align: center;
	color: var(--civ-white);
}
.civ-cta__bg { position: absolute; inset: 0; }
.civ-cta__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.civ-cta__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.civ-cta__content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.civ-cta__text { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.civ-cta__title { margin: 0; font-size: 36px; font-weight: 700; line-height: 1.5; color: var(--civ-white); }
.civ-cta__subtitle { margin: 0; font-size: 18px; font-weight: 500; line-height: 26px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.civ-footer { background: var(--civ-black); color: var(--civ-white); padding-block: 40px; }
.civ-footer a { text-decoration: none; }
.civ-footer__top { display: flex; align-items: center; gap: 239px; }
.civ-footer__info { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; flex-shrink: 0; }
.civ-footer__logo { display: block; line-height: 0; }
.civ-footer__logo img { width: 119px; height: 64px; object-fit: cover; }
.civ-footer__contact { display: flex; flex-direction: column; gap: 16px; }
.civ-footer__address { margin: 0; font-size: 16px; font-weight: 500; line-height: 24px; color: var(--civ-white); }
.civ-footer__lines { display: flex; flex-direction: column; gap: 12px; }
.civ-footer__row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 44px; row-gap: 12px; }
.civ-footer__item { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; line-height: 24px; color: var(--civ-white); }
.civ-footer__item img { width: 24px; height: 24px; flex-shrink: 0; }
.civ-footer__item--accent { color: var(--civ-secondary); font-weight: 500; }
.civ-footer__item:hover,
.civ-footer__item:focus-visible { color: var(--civ-primary); }

.civ-footer__newsletter { display: flex; flex-direction: column; gap: 20px; flex: 1 1 0; min-width: 0; }
.civ-footer__nl-head { display: flex; flex-direction: column; gap: 5px; }
.civ-footer__nl-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 26px; color: var(--civ-neutral); }
.civ-footer__nl-text { margin: 0; font-size: 14px; line-height: 20px; color: var(--civ-gray-400); }

.civ-newsletter { display: flex; align-items: stretch; width: 100%; }
.civ-newsletter__input {
	flex: 1 1 0;
	min-width: 0;
	height: 42px;
	padding: 10px 14px;
	border: 1px solid var(--civ-border);
	border-radius: 0;
	background: var(--civ-white);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
	font-family: var(--civ-font);
	font-size: 14px;
	line-height: 24px;
	color: var(--civ-gray-600);
}
.civ-newsletter__input::placeholder { color: var(--civ-gray-600); opacity: 1; }
.civ-newsletter__input:focus { outline: 2px solid var(--civ-primary); outline-offset: -2px; }
.civ-newsletter__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.civ-newsletter__btn {
	flex-shrink: 0;
	height: 42px;
	padding: 0 24px;
	border: 0;
	border-radius: 0;
	background: var(--civ-primary);
	font-family: "Inter", var(--civ-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 28px;
	color: var(--civ-neutral);
	text-transform: uppercase;
	transition: background-color .2s ease;
}
.civ-newsletter__btn:hover,
.civ-newsletter__btn:focus-visible { background: #a96f3d; }
.civ-newsletter__msg { margin: -8px 0 0; font-size: 14px; line-height: 20px; }
.civ-newsletter__msg--success { color: var(--civ-secondary); }
.civ-newsletter__msg--error { color: #f87171; }

.civ-footer__divider { display: block; width: 100%; height: 1px; margin-block: 24px; object-fit: fill; }

.civ-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.civ-footer__copy { flex: 1 1 0; margin: 0; font-size: 14px; line-height: 20px; color: var(--civ-muted); }
.civ-footer__social { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.civ-social { display: block; width: 24px; height: 24px; line-height: 0; transition: opacity .2s ease; }
.civ-social img { width: 24px; height: 24px; }
.civ-social:hover,
.civ-social:focus-visible { opacity: .75; }


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1279.98px) {
	.civ-footer__top { gap: 64px; }
}

@media (max-width: 1199.98px) {
	.civ-about__grid { gap: 40px; }
	.civ-floor__content { width: 480px; }
}

@media (max-width: 991.98px) {
	:root { --civ-section-gap: 48px; }
	.civ-heading__title { font-size: 32px; }

	.civ-about__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.civ-about__media { max-width: 584px; margin-inline: auto; }

	.civ-floor { flex-direction: column; align-items: stretch; gap: 32px; padding-left: 0; padding-top: 48px; }
	.civ-floor__content { width: 100%; max-width: none; padding-inline: var(--civ-gutter); }
	.civ-floor__media { flex: none; height: 360px; }

	.civ-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.civ-footer__top { flex-direction: column; align-items: stretch; gap: 40px; }
}

@media (max-width: 575.98px) {
	.civ-heading__title { font-size: 28px; }
	.civ-about__body { font-size: 16px; line-height: 24px; }
	.civ-about__text p { margin-bottom: 24px; }
	.civ-floor__text { font-size: 16px; line-height: 24px; }
	.civ-floor__media { height: 260px; }
	.civ-why__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.civ-cta { min-height: 320px; padding: 48px 20px; }
	.civ-cta__title { font-size: 28px; }
	.civ-cta__subtitle { font-size: 16px; line-height: 24px; }
	.civ-footer__row { column-gap: 24px; }
	.civ-footer__item { font-size: 15px; word-break: break-all; }
	.civ-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
	.civ-newsletter__btn { padding: 0 16px; }
}

/* ==========================================================================
   Inner page hero (Floor Plan, ...)
   ========================================================================== */
.civ-page-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: clamp(360px, 47.5694vw, 685px);
	overflow: hidden;
	background: var(--civ-black);
	text-align: center;
}
.civ-page-hero__bg { position: absolute; inset: 0; }
.civ-page-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.civ-page-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.civ-page-hero__inner { position: relative; }
.civ-page-hero__title { margin: 0; font-size: 64px; font-weight: 700; line-height: 1.5; color: var(--civ-white); }

/* ==========================================================================
   Floor plans
   ========================================================================== */
.civ-page-intro,
.civ-plans__head { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 994px; margin-inline: auto; }
.civ-page-intro__text,
.civ-plans__intro { margin: 0; font-size: 18px; line-height: 26px; color: var(--civ-black); text-align: center; }
.civ-plans__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 32px;
	align-items: start;
	margin-top: 40px;
}
.civ-plans__empty { margin-top: 32px; text-align: center; }

.civ-plan { display: flex; flex-direction: column; padding: 20px 20px 0; background: #f9fafb; }
.civ-plan__media { aspect-ratio: 4 / 3; overflow: hidden; }
.civ-plan__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.civ-plan__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.civ-plan__head { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.civ-plan__title { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.5; color: var(--civ-black); }
.civ-plan__price { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--civ-black); }
.civ-plan__price span { font-size: 16px; font-weight: 400; color: #6b7280; }
.civ-plan__meta { display: flex; flex-direction: column; gap: 12px; width: 100%; font-size: 16px; line-height: 1.5; color: #000; }
.civ-plan__row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.civ-plan__data { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.civ-plan__data img { flex-shrink: 0; }
.civ-plan__area { color: var(--civ-black); }
.civ-plan__divider { width: 1px; height: 20px; background: var(--civ-gray-200); }
.civ-plan__desc { display: flex; align-items: flex-start; gap: 10px; min-height: 48px; }
.civ-plan__desc img { flex-shrink: 0; margin-top: 4px; }
.civ-plan__leasing { display: flex; flex-direction: column; align-items: flex-start; }
.civ-plan__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--civ-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--civ-primary);
	cursor: pointer;
}
.civ-plan__toggle img { transition: transform .2s ease; }
.civ-plan__toggle[aria-expanded="true"] img { transform: rotate(180deg); }
.civ-plan__toggle:hover span { text-decoration: underline; }
.civ-plan__units { display: flex; flex-direction: column; gap: 5px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.5; white-space: nowrap; }
.civ-plan__unit { display: flex; align-items: center; gap: 24px; }
.civ-plan__unit-no { display: list-item; list-style: disc; margin-left: 24px; font-weight: 600; color: #000; }
.civ-plan__unit-status--available { color: #00ba0c; }
.civ-plan__unit-status--leased { color: #ed0000; }

@media (max-width: 991.98px) {
	.civ-page-hero__title { font-size: 44px; }
	.civ-plans__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
@media (max-width: 575.98px) {
	.civ-page-hero__title { font-size: 32px; }
	.civ-plans__intro { font-size: 16px; line-height: 24px; }
	.civ-plans__grid { grid-template-columns: minmax(0, 1fr); }
	.civ-plan__title { font-size: 22px; }
}

/* ==========================================================================
   Amenities
   ========================================================================== */
.civ-amenities__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 32px;
	margin-top: 40px;
}
.civ-amenity { display: flex; align-items: flex-start; gap: 20px; padding: 24px 20px; background: var(--civ-gray-100); }
.civ-amenity__icon { flex: 0 0 96px; width: 96px; }
.civ-amenity__icon img { display: block; width: 96px; height: auto; max-height: 112px; object-fit: contain; }
.civ-amenity__body { display: flex; flex-direction: column; gap: 8px; flex: 1 1 0; min-width: 0; }
.civ-amenity__title { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.5; color: var(--civ-black); }
.civ-amenity__text { margin: 0; font-size: 18px; line-height: 26px; color: #000; }

@media (max-width: 991.98px) {
	.civ-amenities__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 575.98px) {
	.civ-amenity { gap: 16px; padding: 20px 16px; }
	.civ-amenity__icon { flex-basis: 64px; width: 64px; }
	.civ-amenity__icon img { width: 64px; }
	.civ-amenity__title { font-size: 20px; }
	.civ-amenity__text { font-size: 16px; line-height: 24px; }
}

/* ==========================================================================
   Inner page hero — plain variant (image only, e.g. MFTE)
   ========================================================================== */
.civ-page-hero--plain .civ-page-hero__bg::after { display: none; }

/* ==========================================================================
   MFTE
   ========================================================================== */
.civ-mfte__grid { display: grid; grid-template-columns: minmax(0, 632fr) minmax(0, 568fr); }
.civ-mfte__panel { display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 32px; background: var(--civ-gray-100); }
.civ-mfte__intro { display: flex; flex-direction: column; gap: 32px; }
.civ-mfte__text { display: flex; flex-direction: column; gap: 12px; font-size: 18px; line-height: 26px; }
.civ-mfte__sub { margin: 0; font-weight: 500; color: var(--civ-primary); }
.civ-mfte__desc { margin: 0; color: var(--civ-black); }
.civ-mfte__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.civ-mfte__note { margin: 0; font-size: 14px; line-height: 20px; color: #6b7280; }
.civ-mfte__media { position: relative; height: 621px; overflow: hidden; }
.civ-mfte__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.civ-gallery__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.civ-gallery__item { grid-column: span 3; position: relative; display: block; aspect-ratio: 300 / 221.636; overflow: hidden; border: 6px solid var(--civ-neutral); background: var(--civ-gray-100); }
.civ-gallery__item--lg { grid-column: span 4; aspect-ratio: 400 / 295.515; }
.civ-gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.civ-gallery__item:hover img,
.civ-gallery__item:focus-visible img { transform: scale(1.05); }
.modal-backdrop.show { opacity: .85; }

/* ==========================================================================
   Contact
   ========================================================================== */
.civ-contact { padding-top: 63px; padding-bottom: 8px; } /* Figma: 748 → footer +68 */
.civ-contact__grid { display: grid; grid-template-columns: 514px minmax(0, 1fr); gap: 48px; align-items: start; }
.civ-contact__info { display: flex; flex-direction: column; gap: 24px; }
.civ-contact__head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.civ-contact__logo { width: 159px; height: 86px; object-fit: cover; }
.civ-contact__lines { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 24px; color: var(--civ-black); }
.civ-contact__lines p { margin: 0; }
.civ-contact__lines a { color: inherit; text-decoration: none; }
.civ-contact__address { font-weight: 500; }
.civ-contact__lines .civ-contact__email { color: var(--civ-primary); text-decoration: underline; }
.civ-contact__map { position: relative; aspect-ratio: 584 / 386; overflow: hidden; background: var(--civ-gray-100); }
.civ-contact__map iframe,
.civ-contact__map img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.civ-contact__form-wrap { display: flex; flex-direction: column; gap: 32px; scroll-margin-top: 100px; }
.civ-contact__title { margin: 0; font-size: 24px; font-weight: 700; line-height: 32px; color: #374151; }
.civ-form { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.civ-form__fields { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.civ-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.civ-form__field { display: flex; flex-direction: column; gap: 6px; }
.civ-form__field label { font-size: 16px; font-weight: 500; line-height: 24px; color: #333f51; }
.civ-form__req { font-size: 10.32px; color: #f36a0f; vertical-align: top; }
.civ-form input,
.civ-form select,
.civ-form textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--civ-gray-200);
	border-radius: 0;
	background: var(--civ-white);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
	font-family: var(--civ-font);
	font-size: 14px;
	line-height: 20px;
	color: var(--civ-black);
}
.civ-form select {
	appearance: none;
	padding-right: 44px;
	background: var(--civ-white) url("../icons/select-chevron.svg") no-repeat right 14px center / 19px 19px;
	cursor: pointer;
}
.civ-form select:disabled { cursor: default; color: var(--civ-gray-400); }
.civ-form select:invalid,
.civ-form select option[value=""] { color: var(--civ-gray-400); }
.civ-form textarea { height: 78px; padding: 12px 14px; resize: vertical; }
.civ-form ::placeholder { color: var(--civ-gray-400); opacity: 1; }
.civ-form input:focus,
.civ-form select:focus,
.civ-form textarea:focus { outline: 0; border-color: var(--civ-primary); box-shadow: 0 0 0 3px rgba(195, 134, 80, .15); }
.civ-form.was-validated :invalid { border-color: #ed0000; }
.civ-form__msg { padding: 12px 16px; font-size: 14px; line-height: 20px; }
.civ-form__msg--success { background: #ecfdf3; color: #067647; }
.civ-form__msg--error { background: #fef3f2; color: #b42318; }

/* ==========================================================================
   Blog — breadcrumbs, listing, cards, pager, latest
   ========================================================================== */
.civ-breadcrumbs { margin-top: 32px; padding-bottom: 19px; border-bottom: 1px solid #dfe4ea; }
.civ-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.civ-breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; line-height: 24px; }
.civ-breadcrumbs a { display: inline-flex; color: #5f5f5f; text-decoration: none; }
.civ-breadcrumbs a:hover { color: var(--civ-primary); }
.civ-breadcrumbs .is-current { color: var(--civ-primary); }

.civ-blog { padding: 32px 0 60px; }
.civ-blog__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.civ-search { display: flex; align-items: center; gap: 8px; width: 424px; max-width: 100%; height: 48px; padding: 0 16px; border: 1px solid #b6b7bc; border-radius: 4px; background: var(--civ-white); }
.civ-search input { flex: 1 1 0; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--civ-font); font-size: 14px; line-height: 20px; color: var(--civ-black); }
.civ-search input::placeholder { color: #6d6a6b; opacity: 1; }
.civ-search:focus-within { border-color: var(--civ-primary); }
.civ-blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.civ-blog__empty { margin: 32px 0 0; }

.civ-card { display: flex; flex-direction: column; gap: 24px; }
.civ-card__media { position: relative; display: block; aspect-ratio: 379 / 287; border: 10px solid var(--civ-white); background: var(--civ-gray-100); box-shadow: 0 10px 15px rgba(151, 151, 151, .08); overflow: hidden; }
.civ-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.civ-card:hover .civ-card__media img { transform: scale(1.04); }
.civ-card__date { position: absolute; top: 8px; left: 11px; display: flex; flex-direction: column; align-items: center; width: 50px; padding: 4px; background: var(--civ-primary); color: var(--civ-white); text-align: center; }
.civ-card__day { margin-bottom: -6px; font-size: 18px; font-weight: 600; line-height: 1.5; }
.civ-card__month { font-size: 14px; font-weight: 500; line-height: 1.5; }
.civ-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.civ-card__main { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.civ-card__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.civ-card__title a { color: var(--civ-black); text-decoration: none; }
.civ-card__title a:hover { color: var(--civ-primary); }
.civ-card__author { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: #6b7280; }
.civ-card__avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.civ-card__excerpt { margin: 0; font-size: 16px; line-height: 24px; color: #5f5f5f; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.civ-more { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; line-height: 24px; color: var(--civ-black); text-decoration: none; }
.civ-more img { transition: transform .2s ease; }
.civ-more:hover { color: var(--civ-primary); }
.civ-more:hover img { transform: translateX(3px); }

.civ-pager { display: flex; justify-content: center; margin-top: 32px; }
.civ-pager ul { display: flex; margin: 0; padding: 0; list-style: none; border: 1px solid #eef0f3; background: var(--civ-white); box-shadow: 0 1px 2px rgba(42, 51, 66, .06); }
.civ-pager li + li { border-left: 1px solid #eef0f3; }
.civ-pager .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 45px; height: 44px; padding: 0 10px; font-size: 16px; font-weight: 500; line-height: 24px; color: #556987; text-decoration: none; }
.civ-pager .prev,
.civ-pager .next { background: #f7f8f9; }
.civ-pager .page-numbers.is-disabled { opacity: .4; }
.civ-pager .page-numbers.current { background: var(--civ-primary); color: var(--civ-white); }
.civ-pager a.page-numbers:hover { color: var(--civ-primary); }
.civ-pager .is-next { transform: rotate(180deg); }

.civ-latest { padding: 60px 0; background: #f9fafb; }
.civ-latest__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.civ-latest__col { display: flex; flex-direction: column; gap: 20px; }
.civ-thumb { display: flex; gap: 20px; min-height: 150px; background: var(--civ-white); text-decoration: none; }
.civ-thumb__img { position: relative; flex: 0 0 175px; overflow: hidden; }
.civ-thumb__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.civ-thumb__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 20px 20px 20px 0; }
.civ-thumb__title { font-size: 20px; font-weight: 700; line-height: 1.5; color: #231c1d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.civ-thumb__excerpt { font-size: 16px; line-height: 24px; color: #333845; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.civ-thumb:hover .civ-thumb__title { color: var(--civ-primary); }

/* ==========================================================================
   Single post
   ========================================================================== */
.civ-post__wrap { max-width: calc(994px + var(--civ-gutter) * 2); margin-inline: auto; padding: 40px var(--civ-gutter) 0; }
.civ-post__header { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.civ-post__titlebox { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 977px; }
.civ-post__title { margin: 0; font-size: 36px; font-weight: 700; line-height: 1.5; color: #1c232d; }
.civ-post__meta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.civ-post__meta .civ-socials { height: 32px; }
.civ-post__author { display: flex; align-items: center; gap: 12px; font-size: 18px; line-height: 26px; color: #374151; }
.civ-post__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.civ-post__lead { margin: 0; font-size: 16px; line-height: 24px; color: #374151; }
.civ-socials { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.civ-socials a { display: block; line-height: 0; transition: opacity .2s ease; }
.civ-socials a:hover { opacity: .7; }
.civ-post__cover { margin: 32px 0 0; height: 460px; border: 10px solid var(--civ-white); box-shadow: 0 10px 15px rgba(151, 151, 151, .15); overflow: hidden; }
.civ-post__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.civ-post__body { max-width: 790px; margin: 32px auto 0; }
.civ-post .civ-post__content { font-size: 16px; line-height: 24px; color: #556987; }
.civ-prose > * { margin: 0 0 24px; }
.civ-prose > :last-child { margin-bottom: 0; }
.civ-prose h2,
.civ-prose h3,
.civ-prose h4 { margin: 0 0 16px; font-weight: 700; color: #333f51; }
.civ-prose h2 { font-size: 24px; line-height: 32px; }
.civ-prose h3 { font-size: 20px; line-height: 30px; }
.civ-prose h4 { font-size: 18px; line-height: 26px; }
.civ-prose hr { border: 0; border-top: 1px solid #eef0f3; opacity: 1; }
.civ-prose img { display: block; max-width: 100%; height: auto; }
.civ-post__content .alignwide, .civ-post__content .alignfull, .civ-post__content .wp-block-image img { width: 100%; }
.civ-prose .aligncenter { margin-inline: auto; }
.civ-prose .alignleft { float: left; margin: 0 24px 16px 0; }
.civ-prose .alignright { float: right; margin: 0 0 16px 24px; }
.civ-prose ol li + li, .civ-prose ul li + li { margin-top: 0; }
.civ-prose figure { margin-inline: 0; }
.civ-prose figcaption { font-size: 14px; line-height: 20px; margin-top: 8px; color: #6b7280; }
.civ-prose ol,
.civ-prose ul { padding-left: 24px; }
.civ-prose a { color: var(--civ-primary); }
.civ-prose blockquote { padding-left: 16px; border-left: 3px solid var(--civ-primary); font-style: italic; }
.civ-post__rule { margin: 24px 0; border: 0; border-top: 1px solid #eef0f3; opacity: 1; }
.civ-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.civ-share__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border: 1px solid var(--civ-border); border-radius: 6px; background: var(--civ-white); box-shadow: 0 1px 2px rgba(105, 81, 255, .05); font-family: var(--civ-font); font-size: 14px; font-weight: 500; line-height: 20px; color: #556987; text-decoration: none; cursor: pointer; }
.civ-share__copy { padding: 8px 16px; margin-right: 8px; }
.civ-share__icon { width: 36px; padding: 0; }
.civ-share__btn:hover { border-color: var(--civ-primary); color: var(--civ-primary); }
.civ-follow { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; min-height: 83px; padding: 16px 48px; background: #faf5ef; }
.civ-follow__text p { margin: 0; }
.civ-follow__title { font-size: 18px; font-weight: 600; line-height: 26px; color: var(--civ-primary); }
.civ-follow__sub { margin-top: 5px !important; font-size: 14px; line-height: 20px; color: #374151; }

.civ-related { margin-top: 60px; padding: 60px 0; background: #f9fafb; }
.civ-slider { position: relative; margin-top: 24px; }
.civ-slider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 64px) / 3);
	gap: 32px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.civ-slider__track::-webkit-scrollbar { display: none; }
.civ-slider__slide { scroll-snap-align: start; min-width: 0; }
.civ-slider__arrow { position: absolute; top: calc(min(287px, 23.92vw) * .82); z-index: 2; width: 40px; height: 40px; padding: 0; border: 0; background: none; line-height: 0; cursor: pointer; transition: opacity .2s ease; }
.civ-slider__arrow--prev { left: -18px; }
.civ-slider__arrow--prev img { transform: rotate(180deg); }
.civ-slider__arrow--next { right: -18px; }
.civ-slider.is-start .civ-slider__arrow--prev,
.civ-slider.is-end .civ-slider__arrow--next { opacity: .35; pointer-events: none; }
.civ-slider.is-static .civ-slider__arrow { display: none; }

/* ==========================================================================
   Generic page / fallback
   ========================================================================== */

.civ-entry { font-size: 16px; line-height: 26px; }
.civ-entry img { height: auto; }

/* ==========================================================================
   Responsive — inner pages
   ========================================================================== */
@media (max-width: 1279.98px) {
	.civ-slider__arrow--prev { left: 4px; }
	.civ-slider__arrow--next { right: 4px; }
}
@media (max-width: 1199.98px) {
	.civ-contact__grid { grid-template-columns: 420px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 991.98px) {
	.civ-mfte__grid { grid-template-columns: minmax(0, 1fr); }
	.civ-mfte__panel { padding: 48px 24px; }
	.civ-mfte__media { height: 360px; }
	.civ-gallery__item { grid-column: span 4; }
	.civ-gallery__item--lg { grid-column: span 4; }
	.civ-contact__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.civ-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.civ-latest__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.civ-slider__track { grid-auto-columns: calc((100% - 32px) / 2); }
	.civ-slider__arrow { top: calc(23vw - 20px); }
	.civ-post__cover { height: auto; aspect-ratio: 994 / 460; }
}
@media (max-width: 767.98px) {
	.civ-blog__head { flex-direction: column; align-items: stretch; }
	.civ-search { width: 100%; }
	.civ-gallery__item,
	.civ-gallery__item--lg { grid-column: span 6; }
	.civ-gallery__item--lg:first-child { grid-column: span 12; }
	.civ-follow { flex-direction: column; align-items: flex-start; padding: 20px 24px; }
}
@media (max-width: 575.98px) {
	.civ-form__row { grid-template-columns: minmax(0, 1fr); }
	.civ-blog__grid { grid-template-columns: minmax(0, 1fr); }
	.civ-slider__track { grid-auto-columns: 86%; gap: 16px; }
	.civ-slider__arrow { display: none; }
	.civ-post__title { font-size: 28px; }
	.civ-thumb__img { flex-basis: 120px; }
	.civ-thumb__title { font-size: 17px; white-space: normal; }
	.civ-thumb__excerpt { font-size: 14px; line-height: 20px; }
	.civ-mfte__media { height: 260px; }
}

/* Comments */
.civ-comments { margin-top: 40px; font-size: 16px; line-height: 24px; color: #556987; }
.civ-comments__title { font-size: 24px; font-weight: 700; line-height: 32px; color: #333f51; }
.civ-comments__list { padding-left: 0; list-style: none; }
.civ-comments__list .comment-body { padding: 16px 0; border-bottom: 1px solid #eef0f3; }
.civ-comments__list .avatar { border-radius: 50%; margin-right: 8px; }
.civ-comments__form p { width: 100%; margin: 0; }
.civ-comments__form label { display: block; margin-bottom: 6px; font-weight: 500; color: #333f51; }
.civ-comments__form { gap: 20px; }
.civ-comments__form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.civ-comments__form .comment-form-cookies-consent input { width: 16px; height: 16px; padding: 0; flex: 0 0 auto; accent-color: var(--civ-primary); }
.civ-comments__form .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.civ-comments__form .form-submit input[type="submit"] { width: auto; height: auto; padding: 12px 32px; border: 0; background: var(--civ-primary); color: var(--civ-white); font-weight: 500; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.civ-comments__form .form-submit input[type="submit"]:hover { background: #a96f3d; }
.civ-comments .comment-reply-title { font-size: 24px; line-height: 32px; font-weight: 700; color: var(--civ-black); margin-bottom: 8px; }

/* ==========================================================================
   Mobile — Figma "Mobile" page (440px frames). Applies ≤ 575px.
   ========================================================================== */
.civ-header__toggler { line-height: 0; }
.civ-header__menu-icon { display: block; width: 32px; height: 32px; }

@media (max-width: 991.98px) {
	.civ-header__toggler { border: 0; padding: 0; }
	.civ-header__toggler:focus { box-shadow: none; }
	.civ-header__toggler:focus-visible { outline: 2px solid var(--civ-primary); outline-offset: 2px; }
}

@media (max-width: 575.98px) {
	:root { --civ-gutter: 20px; --civ-section-gap: 40px; }

	/* Header 76px: 12px padding + 52px logo */
	.civ-header__inner { padding-block: 12px; }
	.civ-header__logo img { width: 97px; height: 52px; }
	body:not(.civ-home) .civ-header--overlay { position: relative; top: auto; }
	.admin-bar:not(.civ-home) .civ-header--overlay { top: auto; }

	/* Headings (heading_mobile): 24px bold + 8px gap + 120px line */
	.civ-heading__title { font-size: 24px; line-height: 1.5; text-wrap: balance; }
	.civ-heading__line { height: 2px; margin-top: 6px; }

	/* Hero + stats */
	.civ-hero__media { height: 145.4545vw; }
	.civ-hero__stats-wrap { margin-top: -100px; }
	.civ-stats { padding: 12px 16px; }
	.civ-stats__item { padding: 8px 4px; }
	.civ-stats__number { font-size: 32px; line-height: 1.5; }
	.civ-stats__label { font-size: clamp(13px, 3.64vw, 16px); line-height: 24px; }

	/* About */
	.civ-about__grid { gap: 24px; margin-top: 32px; }
	.civ-about__body { gap: 20px; font-size: 16px; line-height: 24px; }
	.civ-about__tagline { font-weight: 400; font-style: normal; }

	/* Floor plan teaser */
	.civ-floor { gap: 32px; padding-top: 40px; }
	.civ-floor__content { gap: 24px; }
	.civ-floor__body { gap: 20px; }
	.civ-floor__media { height: 135.6818vw; } /* Figma mobile: full-bleed 440 × 597 photo */

	/* Why choose: 2 columns */
	.civ-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-top: 24px; }
	.civ-feature { gap: 12px; }
	.civ-feature__icon,
	.civ-feature__icon img { width: 48px; height: 48px; }
	.civ-feature__body { gap: 5px; }
	.civ-feature__title { font-size: 14px; line-height: 20px; }
	.civ-feature__text { font-size: 12px; line-height: 18px; }

	/* CTA */
	.civ-cta { min-height: 240px; padding: 48px 24px; }
	.civ-cta__title { font-size: 24px; line-height: 1.5; }
	.civ-cta__subtitle { font-size: 16px; line-height: 24px; }
	.civ-cta .civ-btn { padding: 8px 24px; font-size: 14px; line-height: 20px; }

	/* Footer */
	.civ-footer__top { gap: 32px; }
	.civ-footer__row { flex-direction: column; align-items: flex-start; }
	.civ-footer__item { font-size: 16px; word-break: normal; overflow-wrap: anywhere; }
	.civ-footer__bottom { flex-direction: column; align-items: center; gap: 16px; }
	.civ-footer__copy { flex: none; text-align: center; }
	.civ-newsletter__btn { padding: 0 24px; }

	/* Inner page hero: 278px at 440 */
	.civ-page-hero { height: 63.1818vw; min-height: 220px; padding: 40px 24px; }
	.civ-page-hero__inner { padding-inline: 0; }
	.civ-page-hero__title { font-size: 32px; line-height: 1.5; text-wrap: balance; }

	/* Floor plans */
	.civ-plans__head,
	.civ-page-intro { gap: 16px; padding-inline: 20px; }
	.civ-plans__intro,
	.civ-page-intro__text { font-size: 16px; line-height: 24px; }
	.civ-plans__grid { gap: 20px; margin-top: 32px; }
	.civ-plan__title { font-size: 24px; }

	/* Amenities: stacked, centred cards */
	.civ-amenities__grid { gap: 20px; margin-top: 24px; }
	.civ-amenity { flex-direction: column; align-items: center; gap: 12px; padding: 24px 20px; text-align: center; }
	.civ-amenity__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; padding: 4px 6px; }
	.civ-amenity__icon img { width: 64px; height: auto; max-height: 68px; }
	.civ-amenity__body { flex: none; gap: 5px; width: 100%; }
	.civ-amenity__title { font-size: 20px; line-height: 1.5; }
	.civ-amenity__text { font-size: 16px; line-height: 24px; }

	/* MFTE: full-bleed panel + image, footer right after */
	.civ-mfte { padding-top: 0; }
	.civ-mfte .civ-container { padding-inline: 0; }
	.civ-mfte__panel { gap: 24px; padding: 40px 20px; }
	.civ-mfte__intro { gap: 24px; }
	.civ-mfte__text { font-size: 16px; line-height: 24px; }
	.civ-mfte__sub { font-weight: 400; }
	.civ-mfte__actions .civ-btn { padding: 8px 24px; font-size: 14px; line-height: 20px; }
	.civ-mfte__media { height: auto; aspect-ratio: 440 / 621; }
	.civ-has-hero .civ-main:has(> .civ-mfte:last-child) { padding-bottom: 0; }

	/* Gallery: 2 equal columns, 14px sides */
	.civ-gallery .civ-container { padding-inline: 14px; }
	.civ-gallery__item,
	.civ-gallery__item--lg,
	.civ-gallery__item--lg:first-child { grid-column: span 6; aspect-ratio: 206 / 152; }

	/* Contact */
	.civ-contact { padding-top: 40px; padding-bottom: 0; }
	.civ-contact__grid { gap: 24px; }
	.civ-contact__info { gap: 20px; }
	.civ-contact__head { gap: 20px; }
	.civ-contact__logo { width: 120px; height: 65px; }
	.civ-contact__form-wrap { gap: 16px; }
	.civ-form { gap: 16px; }
	.civ-form__fields,
	.civ-form__row { gap: 20px; }

	/* Blog (no mobile frame in Figma — same rhythm) */
	.civ-breadcrumbs { margin-top: 20px; }
	.civ-blog { padding: 24px 0 40px; }
	.civ-blog__grid { gap: 32px; margin-top: 24px; }
	.civ-card__title { font-size: 18px; }
	.civ-latest,
	.civ-related { padding: 40px 0; }
	.civ-related { margin-top: 40px; }
	.civ-latest__grid { margin-top: 24px; }
	.civ-post__wrap { padding-top: 24px; }
	.civ-post__title { font-size: 24px; }
	.civ-post__titlebox { gap: 16px; }
	.civ-post__cover { margin-top: 24px; border-width: 6px; }
	.civ-post__body { margin-top: 24px; }
	.civ-follow { padding: 16px 20px; }
	.civ-follow .civ-socials img { width: 32px; height: 32px; }
}
@media (max-width:390px) {
	.civ-footer__item { font-size: 14px; }
}

/* ==========================================================================
   Default page template (page.php) — "Mẫu mặc định"
   ========================================================================== */
.civ-page { padding-bottom: var(--civ-section-gap); overflow-x: clip; }
.civ-page--none { padding-top: 0; }
.civ-page__head { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: calc(994px + var(--civ-gutter) * 2); margin: 40px auto 0; padding-inline: var(--civ-gutter); text-align: center; }
.civ-page__head .civ-heading__line { margin-top: 10px; }
.civ-page__title { margin: 0; font-size: 40px; font-weight: 700; line-height: 1.5; color: var(--civ-black); text-wrap: balance; }
.civ-page__intro { margin: 24px 0 0; font-size: 18px; line-height: 26px; color: #374151; }
.civ-page__head--intro .civ-page__intro { margin-top: 0; }
.civ-page__body { margin: 40px auto 0; padding-inline: var(--civ-gutter); }
.civ-page--narrow .civ-page__body { max-width: calc(790px + var(--civ-gutter) * 2); }
.civ-page--wide .civ-page__body { max-width: calc(var(--civ-container) + var(--civ-gutter) * 2); }
.civ-page--full .civ-page__body { padding-inline: 0; }
.civ-page--full .civ-page__body > .civ-prose > :not(.alignfull) { max-width: var(--civ-container); margin-inline: auto; padding-inline: var(--civ-gutter); box-sizing: content-box; }
.civ-page--none .civ-page__body { margin-top: 0; }
.civ-page--none .civ-page__body > .civ-prose > .alignfull:first-child { margin-top: 0; }
.civ-page--full .civ-page__comments,
.civ-page--wide .civ-page__comments { max-width: 790px; }
.civ-page .civ-prose { font-size: 16px; line-height: 26px; color: #374151; }

/* Wide / full blocks break out of the reading column */
.civ-page--narrow .civ-prose > .alignwide { width: min(var(--civ-container), 100vw - var(--civ-gutter) * 2); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.civ-page .civ-prose > .alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.civ-page--full .civ-prose > .alignfull { margin-left: 0; width: 100%; }

/* ---------- Prose: core blocks (pages + posts) ---------- */
.civ-prose h1, .civ-prose h5, .civ-prose h6 { margin: 0 0 16px; font-weight: 700; color: var(--civ-black); }
.civ-prose h1 { font-size: 36px; line-height: 1.4; }
.civ-prose h5 { font-size: 16px; line-height: 24px; }
.civ-prose h6 { font-size: 14px; line-height: 20px; text-transform: uppercase; letter-spacing: .04em; }
.civ-page .civ-prose h2, .civ-page .civ-prose h3, .civ-page .civ-prose h4 { color: var(--civ-black); }
.civ-prose > * + :is(h2, h3) { margin-top: 40px; }
.civ-prose > * + h4 { margin-top: 32px; }
.civ-prose strong { font-weight: 600; color: var(--civ-black); }
.civ-prose a:hover { color: #a96f3d; }
.civ-prose li + li { margin-top: 6px; }
.civ-prose li > ul, .civ-prose li > ol { margin-top: 6px; }
.civ-prose ul { list-style: disc; }
.civ-prose ul li::marker { color: var(--civ-primary); }
.civ-prose ol li::marker { color: var(--civ-primary); font-weight: 600; }
.civ-prose blockquote,
.civ-prose .wp-block-quote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--civ-primary); font-size: 18px; line-height: 28px; font-style: italic; color: var(--civ-black); }
.civ-prose blockquote p { margin: 0 0 12px; }
.civ-prose blockquote > :last-child { margin-bottom: 0; }
.civ-prose blockquote cite,
.civ-prose .wp-block-quote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; font-weight: 500; color: var(--civ-primary); }
.civ-prose .wp-block-pullquote { padding: 32px 24px; border-top: 3px solid var(--civ-primary); border-bottom: 3px solid var(--civ-primary); text-align: center; }
.civ-prose .wp-block-pullquote blockquote { padding: 0; border: 0; font-size: 22px; line-height: 1.5; }
.civ-prose hr,
.civ-prose .wp-block-separator { margin-block: 32px; border: 0; border-top: 1px solid var(--civ-gray-200); opacity: 1; }
.civ-prose .wp-block-separator.is-style-dots { border: 0; text-align: center; }
.civ-prose .wp-block-separator.is-style-dots::before { color: var(--civ-primary); }
.civ-prose .wp-block-separator:not(.is-style-wide):not(.is-style-dots) { max-width: 120px; margin-inline: auto; border-top: 2px solid var(--civ-primary); }
.civ-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.civ-prose .wp-block-table { overflow-x: auto; }
.civ-prose th,
.civ-prose td { padding: 12px 16px; border: 1px solid var(--civ-gray-200); text-align: left; vertical-align: top; }
.civ-prose thead th,
.civ-prose th { background: var(--civ-gray-100); font-weight: 600; color: var(--civ-black); }
.civ-prose .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: #f9fafb; }
.civ-prose .wp-block-table figcaption { text-align: left; }
.civ-prose pre,
.civ-prose code { font-family: SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: 14px; }
.civ-prose pre { padding: 16px 20px; overflow-x: auto; background: var(--civ-gray-100); color: var(--civ-black); }
.civ-prose :not(pre) > code { padding: 2px 6px; background: var(--civ-gray-100); color: #a96f3d; }
.civ-prose .wp-block-image { margin-inline: 0; }
.civ-prose .wp-block-image.aligncenter img,
.civ-prose .wp-block-image .aligncenter img { margin-inline: auto; }
.civ-prose .wp-block-image figcaption,
.civ-prose .wp-block-embed figcaption { text-align: center; }
.civ-prose .wp-block-gallery { gap: 12px; }
.civ-prose .wp-block-columns { gap: 32px; margin-bottom: 24px; }
.civ-prose .wp-block-column > :last-child { margin-bottom: 0; }
.civ-prose .wp-block-column > * { margin: 0 0 16px; }
.civ-prose .wp-block-group.has-background,
.civ-prose .wp-block-columns.has-background { padding: 32px; }
.civ-prose .wp-block-cover { min-height: 360px; padding: 48px 24px; }
.civ-prose .wp-block-cover h2,
.civ-prose .wp-block-cover h3,
.civ-prose .wp-block-cover p { color: inherit; }
.civ-prose .wp-block-embed iframe { width: 100%; }
.civ-prose details { padding: 16px 20px; border: 1px solid var(--civ-gray-200); background: var(--civ-white); }
.civ-prose details + details { margin-top: -12px; }
.civ-prose details summary { font-weight: 600; color: var(--civ-black); cursor: pointer; }
.civ-prose details[open] summary { margin-bottom: 12px; color: var(--civ-primary); }
.civ-prose .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 20px; background: var(--civ-gray-100); }
.civ-prose .wp-block-file .wp-block-file__button { margin: 0; }

/* Buttons block */
.civ-prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.civ-prose .wp-block-buttons > .wp-block-button { margin: 0; }
.civ-prose .wp-block-button__link,
.civ-prose .wp-block-file__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	border: 2px solid var(--civ-primary);
	border-radius: 0;
	background: var(--civ-primary);
	font-family: var(--civ-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	color: var(--civ-white);
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.civ-prose .wp-block-button__link:hover,
.civ-prose .wp-block-file__button:hover { border-color: #a96f3d; background: #a96f3d; color: var(--civ-white); }
.civ-prose .is-style-outline > .wp-block-button__link,
.civ-prose .wp-block-button__link.is-style-outline { background: transparent; color: var(--civ-primary); }
.civ-prose .is-style-outline > .wp-block-button__link:hover { background: var(--civ-primary); color: var(--civ-white); }

/* Editor palette & font-size classes */
.has-primary-color { color: #c38650 !important; }
.has-secondary-color { color: #d19c6f !important; }
.has-black-color { color: #1c0f13 !important; }
.has-popup-color { color: #001416 !important; }
.has-gray-700-color { color: #374151 !important; }
.has-gray-100-color { color: #f3f4f6 !important; }
.has-cream-color { color: #faf5ef !important; }
.has-white-color { color: #fff !important; }
.has-primary-background-color { background-color: #c38650 !important; }
.has-secondary-background-color { background-color: #d19c6f !important; }
.has-black-background-color { background-color: #1c0f13 !important; }
.has-popup-background-color { background-color: #001416 !important; }
.has-gray-700-background-color { background-color: #374151 !important; }
.has-gray-100-background-color { background-color: #f3f4f6 !important; }
.has-cream-background-color { background-color: #faf5ef !important; }
.has-white-background-color { background-color: #fff !important; }
.has-small-font-size { font-size: 14px !important; line-height: 20px; }
.has-normal-font-size { font-size: 16px !important; }
.has-medium-font-size { font-size: 18px !important; line-height: 26px; }
.has-large-font-size { font-size: 24px !important; line-height: 1.5; }
.has-x-large-font-size { font-size: 36px !important; line-height: 1.4; }
.civ-prose .has-background:not(.wp-block-button__link):not(.wp-block-cover) { padding: 24px 28px; }

/* ==========================================================================
   404
   ========================================================================== */
.civ-404 { position: relative; display: flex; align-items: center; min-height: clamp(480px, 70vh, 720px); padding: 80px 0; overflow: hidden; background: var(--civ-black); color: var(--civ-white); text-align: center; }
.civ-404__bg { position: absolute; inset: 0; }
.civ-404__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.civ-404__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 20, 22, .72); }
.civ-404__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.civ-404__code { margin: 0; font-size: clamp(96px, 16vw, 180px); font-weight: 700; line-height: 1; color: var(--civ-secondary); letter-spacing: -.02em; }
.civ-404__title { margin: 16px 0 0; font-size: 40px; font-weight: 700; line-height: 1.5; color: var(--civ-white); }
.civ-404__title .civ-text-primary { color: var(--civ-secondary); }
.civ-404__text { max-width: 560px; margin: 12px 0 0; font-size: 18px; line-height: 26px; color: var(--civ-gray-200); }
.civ-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.civ-btn--outline-light { border: 1px solid rgba(255, 255, 255, .7); background: transparent; color: var(--civ-white); }
.civ-btn--outline-light:hover,
.civ-btn--outline-light:focus-visible { border-color: var(--civ-white); background: var(--civ-white); color: var(--civ-black); }

@media (max-width: 991.98px) {
	.civ-page__title { font-size: 32px; }
	.civ-404__title { font-size: 32px; }
}
@media (max-width: 575.98px) {
	.civ-page__head { margin-top: 24px; }
	.civ-page__head .civ-heading__line { height: 2px; margin-top: 6px; }
	.civ-page__title { font-size: 24px; }
	.civ-page__intro { margin-top: 16px; font-size: 16px; line-height: 24px; }
	.civ-page__body { margin-top: 24px; }
	.civ-prose > * + :is(h2, h3) { margin-top: 32px; }
	.civ-prose h2 { font-size: 20px; line-height: 30px; }
	.civ-prose h3 { font-size: 18px; line-height: 26px; }
	.civ-prose .alignleft,
	.civ-prose .alignright { float: none; margin: 0 0 24px; }
	.civ-prose .wp-block-group.has-background,
	.civ-prose .wp-block-columns.has-background { padding: 24px 20px; }
	.has-x-large-font-size { font-size: 28px !important; }
	.civ-404 { padding: 56px 0; }
	.civ-404__title { font-size: 24px; }
	.civ-404__text { font-size: 16px; line-height: 24px; }
	.civ-404__actions { flex-direction: column; align-items: stretch; width: 100%; }
}
.civ-page:has(+ .civ-cta-section) { padding-bottom: 0; }
.civ-page--banner .civ-breadcrumbs,
.civ-page--none .civ-breadcrumbs { margin-bottom: 0; }
.civ-prose .wp-block-table thead { border-bottom: 2px solid var(--civ-primary); }
.civ-prose .wp-block-table tfoot { border-top: 2px solid var(--civ-gray-200); }
.civ-footer__credit { white-space: normal; }
.civ-footer__credit a { text-decoration: none; transition: color .2s ease; }
.civ-footer__credit a:hover,
.civ-footer__credit a:focus-visible { color: var(--civ-primary); text-decoration: underline; }
@media (max-width: 575.98px) { .civ-footer__credit { display: block; margin-top: 4px; } }

/* ==========================================================================
   Mobile / tablet drawer menu (< 1200px) — Figma "Menu" 95:8168
   Open/close: fade + slide panel, staggered items, hamburger → X morph.
   ========================================================================== */
.civ-drawer { position: fixed; inset: 0; z-index: 1090; visibility: hidden; }
.civ-drawer[hidden] { display: none; }
.civ-drawer.is-active { visibility: visible; }
.civ-drawer__overlay { position: absolute; inset: 0; background: rgba(0, 20, 22, .35); opacity: 0; cursor: pointer; transition: opacity .4s ease; }
.civ-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	width: min(392px, calc(100% - 48px));
	padding: 40px 20px 40px 22px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--civ-black);
	opacity: 0;
	transform: translateX(32px);
	transition: opacity .4s cubic-bezier(.445, .05, .55, .95), transform .4s cubic-bezier(.445, .05, .55, .95);
	outline: 0;
}
.admin-bar .civ-drawer__panel { top: 46px; }
@media (min-width: 783px) { .admin-bar .civ-drawer__panel { top: 32px; } }
.civ-drawer.is-open .civ-drawer__overlay { opacity: 1; }
.civ-drawer.is-open .civ-drawer__panel { opacity: 1; transform: none; }

.civ-drawer__logo { display: block; line-height: 0; }
.civ-drawer__logo img { width: 147px; height: 80px; object-fit: cover; }

/* Close button: starts as the header's hamburger, morphs into an X */
.civ-drawer__close { position: absolute; top: 22px; right: 16px; z-index: 2; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.civ-drawer__close span { position: absolute; right: 5.33px; width: 21.33px; height: 2px; border-radius: 2px; background: var(--civ-gray-200); transition: transform .25s ease, width .25s ease, opacity .2s ease; }
.civ-drawer__close span:nth-child(1) { top: 7px; }
.civ-drawer__close span:nth-child(2) { top: 15px; }
.civ-drawer__close span:nth-child(3) { top: 23px; width: 9.33px; }
.civ-drawer.is-open .civ-drawer__close span { transition-delay: .15s; }
.civ-drawer.is-open .civ-drawer__close span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.civ-drawer.is-open .civ-drawer__close span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.civ-drawer.is-open .civ-drawer__close span:nth-child(3) { width: 21.33px; transform: translateY(-8px) rotate(-45deg); }
.civ-drawer__close:hover span { background: var(--civ-primary); }
.civ-drawer__close:focus-visible { outline: 2px solid var(--civ-primary); outline-offset: 2px; }

/* Menu list */
.civ-drawer__nav { width: 100%; }
.civ-drawer__menu,
.civ-drawer__menu .sub-menu { margin: 0; padding: 0; list-style: none; }
.civ-drawer__menu > li { border-bottom: 1px solid #322428; opacity: 0; transform: translateX(16px); transition: opacity .35s ease, transform .35s ease; }
.civ-drawer__menu > li:last-child { border-bottom: 0; }
.civ-drawer.is-open .civ-drawer__menu > li { opacity: 1; transform: none; }
.civ-drawer.is-open .civ-drawer__menu > li:nth-child(1) { transition-delay: .12s; }
.civ-drawer.is-open .civ-drawer__menu > li:nth-child(2) { transition-delay: .17s; }
.civ-drawer.is-open .civ-drawer__menu > li:nth-child(3) { transition-delay: .22s; }
.civ-drawer.is-open .civ-drawer__menu > li:nth-child(4) { transition-delay: .27s; }
.civ-drawer.is-open .civ-drawer__menu > li:nth-child(5) { transition-delay: .32s; }
.civ-drawer.is-open .civ-drawer__menu > li:nth-child(6) { transition-delay: .37s; }
.civ-drawer.is-open .civ-drawer__menu > li:nth-child(7) { transition-delay: .42s; }
.civ-drawer.is-open .civ-drawer__menu > li:nth-child(n+8) { transition-delay: .47s; }
.civ-drawer__menu a { display: block; padding: 20px; font-size: 18px; font-weight: 400; line-height: 26px; color: var(--civ-gray-200); text-decoration: none; transition: color .2s ease; }
.civ-drawer__menu a:hover,
.civ-drawer__menu a:focus-visible { color: var(--civ-primary); }
.civ-drawer__menu .current-menu-item > a,
.civ-drawer__menu .current_page_item > a,
.civ-drawer__menu .current-menu-ancestor > a,
.civ-drawer__menu .current_page_parent > a,
.civ-drawer__menu a.active { font-weight: 600; color: var(--civ-primary); }
.civ-drawer__menu .sub-menu { margin: -12px 0 12px; padding-left: 16px; }
.civ-drawer__menu .sub-menu a { padding: 10px 20px; font-size: 16px; line-height: 24px; color: var(--civ-gray-400); }
.civ-drawer__cta { margin: 4px 0 0 20px; opacity: 0; transition: opacity .35s ease; }
.civ-drawer.is-open .civ-drawer__cta { opacity: 1; transition-delay: .45s; }

/* Background scroll is blocked in JS (no overflow:hidden on <html>): toggling overflow
   removes the scrollbar / re-shows the mobile URL bar and makes the page jump. */
.civ-drawer__overlay { touch-action: none; will-change: opacity; }
.civ-drawer__panel { will-change: transform, opacity; }

@media (min-width: 1200px) { .civ-drawer { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
	.civ-drawer__overlay, .civ-drawer__panel, .civ-drawer__menu > li, .civ-drawer__close span, .civ-drawer__cta { transition-duration: .01s !important; transition-delay: 0s !important; }
}

/* ==========================================================================
   Motion — scroll reveal, hero intro, micro-interactions
   Active only when <html> has .civ-anim (theme option on + no reduced-motion).
   ========================================================================== */
:root { --civ-ease-out: cubic-bezier(.22, .61, .36, 1); --civ-ease-mask: cubic-bezier(.77, 0, .18, 1); }

/* Reveal states */
.civ-anim [data-civ-reveal] {
	opacity: 0;
	transition: opacity .8s var(--civ-ease-out), transform .9s var(--civ-ease-out);
	transition-delay: var(--civ-delay, 0s);
}
.civ-anim [data-civ-reveal="up"] { transform: translate3d(0, 36px, 0); }
.civ-anim [data-civ-reveal="down"] { transform: translate3d(0, -24px, 0); }
.civ-anim [data-civ-reveal="left"] { transform: translate3d(-48px, 0, 0); }
.civ-anim [data-civ-reveal="right"] { transform: translate3d(48px, 0, 0); }
.civ-anim [data-civ-reveal="zoom"] { transform: scale(.94); }
.civ-anim [data-civ-reveal].is-revealed { opacity: 1; transform: none; }

/* Image mask reveal: the picture is uncovered bottom → top and settles from a slight zoom.
   (Clip the media inside, not the observed box itself, so IntersectionObserver still sees it.) */
.civ-anim [data-civ-reveal="mask"] { opacity: 1; }
.civ-anim [data-civ-reveal="mask"] > img,
.civ-anim [data-civ-reveal="mask"] > iframe,
.civ-anim [data-civ-reveal="mask"] > picture { clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.2s var(--civ-ease-mask), transform 1.6s var(--civ-ease-out); transition-delay: var(--civ-delay, 0s); }
.civ-anim [data-civ-reveal="mask"].is-revealed > img,
.civ-anim [data-civ-reveal="mask"].is-revealed > iframe,
.civ-anim [data-civ-reveal="mask"].is-revealed > picture { clip-path: inset(0 0 0 0); transform: scale(1); }
.civ-anim [data-civ-reveal="fade"] { transform: none; }

/* Section headings: title rises, then the underline draws out */
.civ-anim .civ-heading[data-civ-reveal] .civ-heading__line,
.civ-anim .civ-page__head[data-civ-reveal] .civ-heading__line { transform: scaleX(0); transition: transform .9s var(--civ-ease-out) .35s; }
.civ-anim .civ-heading--start[data-civ-reveal] .civ-heading__line { transform-origin: left center; }
.civ-anim .civ-heading[data-civ-reveal].is-revealed .civ-heading__line,
.civ-anim .civ-page__head[data-civ-reveal].is-revealed .civ-heading__line { transform: none; }

/* Hero intro (on load) */
@keyframes civ-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes civ-rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes civ-drop { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
.civ-anim .civ-hero__media > img,
.civ-anim .civ-page-hero__bg img { animation: civ-kenburns 2.4s var(--civ-ease-out) both; }
.civ-anim .civ-page-hero__title { animation: civ-rise 1s var(--civ-ease-out) .25s both; }
.civ-anim .civ-hero__heading { animation: civ-rise 1s var(--civ-ease-out) .3s both; }
.civ-anim .civ-hero__cta { animation: civ-rise 1s var(--civ-ease-out) .5s both; }
.civ-anim .civ-header { animation: civ-drop .7s var(--civ-ease-out) backwards; }
.civ-anim .civ-404__inner > * { animation: civ-rise .9s var(--civ-ease-out) both; }
.civ-anim .civ-404__inner > :nth-child(2) { animation-delay: .1s; }
.civ-anim .civ-404__inner > :nth-child(3) { animation-delay: .2s; }
.civ-anim .civ-404__inner > :nth-child(4) { animation-delay: .3s; }

/* Micro-interactions (always on — they react to the user) */
.civ-btn { transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.civ-btn:hover { transform: translateY(-2px); }
.civ-btn--primary:hover { box-shadow: 0 10px 20px -8px rgba(195, 134, 80, .65); }
.civ-btn--dark:hover { box-shadow: 0 10px 20px -8px rgba(28, 15, 19, .5); }
.civ-btn:active { transform: translateY(0); box-shadow: none; }
.civ-plan,
.civ-amenity,
.civ-thumb { transition: transform .35s var(--civ-ease-out), box-shadow .35s var(--civ-ease-out); }
.civ-plan:hover,
.civ-amenity:hover { transform: translateY(-6px); box-shadow: 0 18px 36px -18px rgba(28, 15, 19, .25); }
.civ-thumb:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -16px rgba(28, 15, 19, .25); }
.civ-plan__media img { transition: transform .6s var(--civ-ease-out); }
.civ-plan:hover .civ-plan__media img { transform: scale(1.04); }
.civ-amenity__icon img,
.civ-feature__icon img { transition: transform .4s var(--civ-ease-out); }
.civ-amenity:hover .civ-amenity__icon img,
.civ-feature:hover .civ-feature__icon img { transform: translateY(-4px) scale(1.06); }
.civ-cta__bg img { transition: transform 1.2s var(--civ-ease-out); }
.civ-cta:hover .civ-cta__bg img { transform: scale(1.05); }
.civ-nav .nav-link { position: relative; }
@media (min-width: 1200px) {
	.civ-nav .nav-link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 1px; background: var(--civ-primary); transform: scaleX(0); transition: transform .3s var(--civ-ease-out); }
	.civ-nav .nav-link:hover::after { transform: scaleX(1); }
	.civ-nav .nav-link.active::after,
	.civ-nav .current-menu-item > .nav-link::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.civ-btn:hover, .civ-plan:hover, .civ-amenity:hover, .civ-thumb:hover { transform: none; }
	.civ-plan:hover .civ-plan__media img, .civ-cta:hover .civ-cta__bg img,
	.civ-amenity:hover .civ-amenity__icon img, .civ-feature:hover .civ-feature__icon img { transform: none; }
}
.civ-anim .civ-main,
.civ-anim .civ-footer { overflow-x: clip; }

/* ==========================================================================
   Schedule a Tour — floating button + popup
   ========================================================================== */
.civ-tour-fab-wrap {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1040;
	transition: opacity .35s ease, transform .45s var(--civ-ease-out, ease);
}
.civ-tour-fab {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 14px 22px;
	border: 0;
	border-radius: 0;
	background: var(--civ-primary);
	box-shadow: 0 14px 30px -10px rgba(28, 15, 19, .45);
	font-family: var(--civ-font);
	font-size: 15px;
	font-weight: 500;
	line-height: 20px;
	color: var(--civ-white);
	text-transform: uppercase;
	letter-spacing: .02em;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s ease, transform .25s var(--civ-ease-out, ease), box-shadow .25s ease, padding .35s var(--civ-ease-out, ease), gap .35s var(--civ-ease-out, ease);
}
.civ-tour-fab svg { flex: 0 0 20px; }
.civ-tour-fab__text { display: inline-block; max-width: 220px; overflow: hidden; transition: max-width .35s var(--civ-ease-out, ease), opacity .25s ease; }
.civ-tour-fab:hover,
.civ-tour-fab:focus-visible { background: #a96f3d; transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(28, 15, 19, .55); }
.civ-tour-fab:focus-visible { outline: 2px solid var(--civ-white); outline-offset: -5px; }
.civ-tour-fab::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--civ-primary); opacity: 0; animation: civ-fab-pulse 2.8s ease-out 1.5s infinite; pointer-events: none; }
@keyframes civ-fab-pulse { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18, 1.45); } }
.civ-anim .civ-tour-fab,
.civ-anim .civ-tour-fab__dismiss { animation: civ-rise .7s var(--civ-ease-out) 1s backwards; }
/* [x] — shrink the button to an icon (kept for this visit) */
.civ-tour-fab__dismiss { position: absolute; top: -9px; left: -9px; z-index: 1; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 1.5px solid var(--civ-white); border-radius: 50%; background: var(--civ-black); color: var(--civ-white); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); cursor: pointer; transition: transform .2s ease, background-color .2s ease, opacity .2s ease; }
.civ-tour-fab__dismiss::after { content: ""; position: absolute; inset: -10px; } /* bigger tap area */
.civ-tour-fab__dismiss:hover,
.civ-tour-fab__dismiss:focus-visible { background: var(--civ-primary); transform: scale(1.1); }
.civ-tour-fab-wrap.is-min .civ-tour-fab { min-height: 52px; padding: 0 15px; gap: 0; }
.civ-tour-fab-wrap.is-min .civ-tour-fab svg { width: 22px; height: 22px; flex-basis: 22px; }
.civ-tour-fab-wrap.is-min .civ-tour-fab__text { max-width: 0; opacity: 0; }
.civ-tour-fab-wrap.is-min .civ-tour-fab__dismiss { opacity: 0; pointer-events: none; }
/* Desktop: hovering the minimized icon slides the full label back out */
@media (hover: hover) and (min-width: 768px) {
	.civ-tour-fab-wrap.is-min .civ-tour-fab:hover,
	.civ-tour-fab-wrap.is-min .civ-tour-fab:focus-visible { padding: 0 22px; gap: 10px; }
	.civ-tour-fab-wrap.is-min .civ-tour-fab:hover .civ-tour-fab__text,
	.civ-tour-fab-wrap.is-min .civ-tour-fab:focus-visible .civ-tour-fab__text { max-width: 220px; opacity: 1; }
}
/* Step aside at the end of the page so the footer (social icons, credit) is never covered */
.civ-tour-fab-wrap.is-away { opacity: 0; transform: translateY(calc(100% + 32px)); pointer-events: none; }
html:has(.civ-drawer.is-active) .civ-tour-fab-wrap,
body.modal-open .civ-tour-fab-wrap { opacity: 0; pointer-events: none; }

/* Popup — Figma "schedule a tour" 101:8300 */
.civ-tour .modal-dialog { max-width: 692px; }
.civ-tour .modal-content { position: relative; border: 0; border-radius: 0; background: var(--civ-gray-100); box-shadow: 0 30px 70px -20px rgba(0, 20, 22, .5); }
.civ-tour.fade .modal-dialog { transition: transform .4s var(--civ-ease-out, ease); }
.civ-tour.fade:not(.show) .modal-dialog { transform: translateY(28px) scale(.98); }
.civ-tour.show .modal-dialog { transform: none; }
.civ-tour__close { position: absolute; top: 6px; right: 6px; z-index: 2; display: flex; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(243, 244, 246, .92); cursor: pointer; transition: transform .3s var(--civ-ease-out, ease), opacity .2s ease; }
.civ-tour__close img { width: 36px; height: 36px; }
.civ-tour__close:hover { transform: rotate(90deg); opacity: .75; }
.civ-tour__close:focus-visible { outline: 2px solid var(--civ-primary); outline-offset: 2px; }
.civ-tour__body { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 40px 32px 32px; }
.civ-tour__title { max-width: 570px; margin: 0; font-size: 20px; font-weight: 600; line-height: 24px; color: var(--civ-black); text-align: center; text-transform: uppercase; }
.civ-tour__title .civ-text-primary { color: var(--civ-primary); }
.civ-tour__sub { max-width: 570px; margin: -12px 0 0; font-size: 15px; line-height: 22px; color: var(--civ-gray-600, #4b5563); text-align: center; }
.civ-tour__form { width: 100%; align-items: center; gap: 24px; }
.civ-tour__form > .civ-form__msg { width: 100%; }
.civ-tour__group { display: flex; flex-direction: column; gap: 12px; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
.civ-tour__legend { float: none; width: 100%; margin: 0 0 12px; padding: 0; font-size: 18px; font-weight: 700; line-height: 26px; color: var(--civ-primary); }
.civ-tour__legend + * { margin-top: 0; }
.civ-tour__rows { display: flex; flex-direction: column; gap: 20px; }
.civ-tour .civ-form__row { gap: 24px; }
.civ-tour .civ-form__field label { color: #333f51; }
.civ-tour .civ-form__req { margin-left: 2px; }
.civ-tour .civ-form input:not([type="radio"]),
.civ-tour .civ-form select { height: 50px; padding: 14px; }
.civ-tour .civ-form select { padding-right: 44px; }
.civ-tour .civ-form textarea { padding: 14px; }
.civ-tour__date { position: relative; padding-right: 44px !important; }
#civ-tour-date { background: var(--civ-white) url("../icons/calendar.svg") no-repeat right 14px center / 19px 19px; }
.civ-tour__date::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; opacity: 0; cursor: pointer; }
.civ-tour__date[type="date"]:not(:focus):invalid { color: var(--civ-gray-400); }
.civ-tour__radio { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }
.civ-tour__q { font-size: 16px; font-weight: 500; line-height: 24px; color: #000; }
.civ-tour__choices { display: flex; gap: 36px; }
.civ-tour__choices label { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 400; line-height: 24px; color: #111928; cursor: pointer; }
.civ-tour .civ-tour__choices input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; padding: 0; border: 0; border-radius: 50%; box-shadow: none; appearance: none; -webkit-appearance: none; background: url("../icons/radio-off.svg") no-repeat center / 20px 20px; cursor: pointer; transition: transform .2s ease; }
.civ-tour .civ-tour__choices input:checked { background-image: url("../icons/radio-on.svg"); }
.civ-tour .civ-tour__choices input:focus-visible { outline: 2px solid var(--civ-primary); outline-offset: 2px; box-shadow: none; }
.civ-tour .civ-tour__choices label:hover input:not(:checked) { transform: scale(1.08); }
.civ-tour__submit { position: relative; align-self: center; min-width: 108px; text-transform: uppercase; }
.civ-tour__submit.is-loading { pointer-events: none; color: transparent; }
.civ-tour__submit.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: var(--civ-white); border-radius: 50%; animation: civ-spin .7s linear infinite; }
@keyframes civ-spin { to { transform: rotate(360deg); } }
.civ-tour__done { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 16px 8px; text-align: center; color: var(--civ-primary); }
.civ-tour__done[hidden] { display: none; }
.civ-tour__done-text { max-width: 420px; margin: 0; font-size: 18px; line-height: 26px; color: var(--civ-black); }
.civ-tour__done svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: civ-draw .6s ease .2s forwards; }
@keyframes civ-draw { to { stroke-dashoffset: 0; } }

@media (max-width: 767.98px) {
	.civ-tour .civ-form__row.civ-tour__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.civ-tour .civ-form__row { gap: 20px; }
}
@media (max-width: 575.98px) {
	.civ-tour-fab-wrap { right: 16px; bottom: 16px; }
	.civ-tour-fab { min-height: 44px; padding: 12px 16px; font-size: 14px; }
	.civ-tour-fab-wrap.is-min .civ-tour-fab { min-height: 48px; padding: 0 13px; }
	.civ-tour .modal-dialog { margin: 0; min-height: 100%; max-width: none; }
	.civ-tour .modal-content { min-height: 100vh; min-height: 100dvh; }
	.civ-tour.fade:not(.show) .modal-dialog { transform: translateY(40px); }
	.civ-tour__close { top: 4px; right: 4px; }
	.civ-tour__body { gap: 20px; padding: 44px 16px 28px; }
	.civ-tour__title { font-size: 16px; line-height: 22px; }
	.civ-tour__form { gap: 20px; }
	.civ-tour__legend { margin-bottom: 10px; font-size: 16px; line-height: 24px; }
	.civ-tour__rows { gap: 16px; }
	.civ-tour .civ-form__field label { font-size: 15px; }
	.civ-tour__choices { gap: 28px; }
	.civ-tour__submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.civ-tour-fab::before { animation: none; }
	.civ-tour-fab-wrap, .civ-tour-fab, .civ-tour-fab__text { transition: none; }
	.civ-tour.fade .modal-dialog { transition: none; }
}

/* ==========================================================================
   Floor plan image viewer (Figma "Popup img" 89:7607)
   ========================================================================== */
button.civ-plan__media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.civ-plan__zoom { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: rgba(209, 156, 111, .5); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .45); opacity: 0; transform: translate(-50%, -50%) scale(.7); transition: opacity .3s ease, transform .4s var(--civ-ease-out, ease), background-color .25s ease; }
.civ-plan__zoom img { width: 22px; height: 22px; }
.civ-plan__media:hover .civ-plan__zoom:hover, .civ-gallery__item:hover .civ-gallery__zoom:hover { background: rgba(209, 156, 111, .7); }
.civ-plan__media:hover .civ-plan__zoom,
.civ-plan__media:focus-visible .civ-plan__zoom { opacity: 1; transform: translate(-50%, -50%); }
.civ-plan__media:focus-visible { outline: 2px solid var(--civ-primary); outline-offset: 3px; }
.civ-plan__count { position: absolute; right: 10px; bottom: 10px; min-width: 32px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 20, 22, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; font-weight: 500; line-height: 20px; color: var(--civ-white); text-align: center; }
.civ-plan__count::before { content: "+"; }

.civ-fpv + .modal-backdrop,
.modal-backdrop.civ-fpv-backdrop { background: #001416; }
.civ-fpv .modal-dialog { max-width: min(1060px, calc((100vh - 130px) / .92 + 80px)); max-width: min(1060px, calc((100dvh - 130px) / .92 + 80px)); }
.civ-fpv__nav:focus:not(:focus-visible), .civ-fpv__arrow:focus:not(:focus-visible), .civ-fpv__thumb:focus:not(:focus-visible) { outline: 0; }
.civ-fpv .modal-content { position: relative; gap: 24px; padding: 40px 40px 32px; border: 0; border-radius: 0; background: var(--civ-gray-100); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); }
.civ-fpv.fade .modal-dialog { transition: transform .4s var(--civ-ease-out, ease); }
.civ-fpv.fade:not(.show) .modal-dialog { transform: scale(.96); }
.civ-fpv__close { position: absolute; top: 6px; right: 6px; z-index: 3; width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; }
.civ-fpv__close span { position: absolute; top: 17px; left: 7px; width: 22px; height: 2px; border-radius: 2px; background: #3f3f46; transition: transform .3s var(--civ-ease-out, ease), background-color .2s ease; }
.civ-fpv__close span:first-child { transform: rotate(45deg); }
.civ-fpv__close span:last-child { transform: rotate(-45deg); }
.civ-fpv__close:hover span { background: var(--civ-primary); }
.civ-fpv__close:hover span:first-child { transform: rotate(135deg); }
.civ-fpv__close:hover span:last-child { transform: rotate(45deg); }
.civ-fpv__stage { position: relative; aspect-ratio: 630 / 500; overflow: hidden; background: transparent; touch-action: pan-y; }
.civ-fpv__main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s ease, transform .45s var(--civ-ease-out, ease); }
.civ-fpv__main.is-swapping { opacity: 0; transform: scale(.985); }
.civ-fpv__nav { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; background: rgba(255, 255, 255, .85); opacity: 0; cursor: pointer; transition: opacity .25s ease, background-color .2s ease; }
.civ-fpv__nav--prev { left: 12px; }
.civ-fpv__nav--next { right: 12px; }
.civ-fpv__nav--next img,
.civ-fpv__arrow--next img { transform: rotate(180deg); }
.civ-fpv__stage:hover .civ-fpv__nav,
.civ-fpv__nav:focus-visible { opacity: 1; }
.civ-fpv__nav:hover { background: var(--civ-white); }
.civ-fpv__counter { position: absolute; left: 12px; bottom: 12px; padding: 2px 10px; background: rgba(0, 20, 22, .8); font-size: 13px; line-height: 22px; color: var(--civ-white); }
.civ-fpv__strip { display: flex; align-items: center; gap: 20px; }
.civ-fpv__arrow { flex: 0 0 32px; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; transition: opacity .2s ease; }
.civ-fpv__arrow:disabled { opacity: .3; cursor: default; }
.civ-fpv__thumbs { display: grid; flex: 1 1 0; grid-auto-flow: column; grid-auto-columns: calc((100% - 100px) / 6); gap: 20px; min-width: 0; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.civ-fpv__thumbs::-webkit-scrollbar { display: none; }
.civ-fpv__thumb { position: relative; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--civ-white); cursor: pointer; scroll-snap-align: start; opacity: .6; transition: opacity .25s ease; }
.civ-fpv__thumb::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; transition: border-color .25s ease; }
.civ-fpv__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.civ-fpv__thumb:hover { opacity: .9; }
.civ-fpv__thumb.is-active { opacity: 1; }
.civ-fpv__thumb.is-active::after { border-color: var(--civ-primary); }
.civ-fpv.is-single .civ-fpv__strip,
.civ-fpv.is-single .civ-fpv__nav,
.civ-fpv.is-single .civ-fpv__counter { display: none; }

@media (max-width: 1199.98px) { .civ-fpv .modal-dialog { max-width: min(calc(100% - 48px), calc((100dvh - 130px) / .92 + 80px)); } }
@media (max-width: 767.98px) {
	.civ-fpv .modal-dialog { max-width: calc(100% - 24px); margin-inline: auto; }
	.civ-fpv .modal-content { gap: 16px; padding: 44px 12px 16px; }
	.civ-fpv__nav { opacity: 1; width: 36px; height: 36px; margin-top: -18px; }
	.civ-fpv__strip { gap: 8px; }
	.civ-fpv__arrow { display: none; }
	.civ-fpv__thumbs { grid-auto-columns: calc((100% - 24px) / 4); gap: 8px; }
}

/* Gallery: hover → dim + quick-view icon (same style as the floor plan cards) */
.civ-gallery__item { cursor: zoom-in; }
.civ-gallery__item::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 20, 22, .3); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.civ-gallery__item:hover::after,
.civ-gallery__item:focus-visible::after { opacity: 1; }
.civ-gallery__zoom { z-index: 2; }
.civ-gallery__item:hover .civ-gallery__zoom,
.civ-gallery__item:focus-visible .civ-gallery__zoom { opacity: 1; transform: translate(-50%, -50%); }
.civ-gallery__item .civ-gallery__zoom img { position: static; width: 22px; height: 22px; transform: none; }
.civ-tour .civ-form select:has(option[value=""]:checked) { color: var(--civ-gray-400); }
.civ-tour .civ-form select option { color: var(--civ-black); }

/* Home "Modern Comfort" text: 2 lines + "View more" on phones */
.civ-about__toggle { display: none; align-items: center; gap: 8px; align-self: flex-start; margin-top: -8px; padding: 0; border: 0; background: none; font-family: var(--civ-font); font-size: 16px; font-weight: 500; line-height: 24px; color: var(--civ-primary); cursor: pointer; }
.civ-about__toggle img { transition: transform .25s ease; }
.civ-about__toggle[aria-expanded="true"] img { transform: rotate(180deg); }
.civ-about__toggle:hover span,
.civ-about__toggle:focus-visible span { text-decoration: underline; }
.civ-about__more { display: flex; flex-direction: column; gap: inherit; }
@media (max-width: 575.98px) {
	.civ-about__body.is-collapsible .civ-about__toggle:not([hidden]) { display: inline-flex; }
	.civ-about__body.is-collapsible:not(.is-open) .civ-about__text p:first-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-bottom: 0; }
	.civ-about__body.is-collapsible:not(.is-open) .civ-about__text p:not(:first-child),
	.civ-about__body.is-collapsible:not(.is-open) .civ-about__tagline { display: none; }
	.civ-about__body.is-open .civ-about__text p:not(:first-child),
	.civ-about__body.is-open .civ-about__tagline { animation: civ-about-in .45s var(--civ-ease-out, ease) both; }
}
@keyframes civ-about-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .civ-about__body.is-open .civ-about__text p, .civ-about__body.is-open .civ-about__tagline { animation: none; } }

/* Back to top — stacks above the "Schedule a Tour" button, takes its place when that one steps aside */
.civ-totop { position: fixed; right: 24px; bottom: 24px; z-index: 1039; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .18); border-radius: 0; background: var(--civ-black); color: var(--civ-white); box-shadow: 0 10px 24px -10px rgba(28, 15, 19, .55); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s ease, visibility 0s linear .3s, transform .35s var(--civ-ease-out, ease), bottom .4s var(--civ-ease-out, ease), background-color .2s ease; }
.civ-totop.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.civ-totop svg { transition: transform .25s var(--civ-ease-out, ease); }
.civ-totop:hover,
.civ-totop:focus-visible { background: var(--civ-primary); border-color: var(--civ-primary); }
.civ-totop:hover svg { transform: translateY(-3px); }
.civ-totop:focus-visible { outline: 2px solid var(--civ-white); outline-offset: -5px; }
html.civ-fab-shown .civ-totop { bottom: 84px; }
html.civ-fab-shown.civ-fab-min .civ-totop { right: 28px; bottom: 88px; }
html:has(.civ-drawer.is-active) .civ-totop,
body.modal-open .civ-totop { opacity: 0; visibility: hidden; }
@media (max-width: 575.98px) {
	.civ-totop { right: 16px; bottom: 16px; width: 40px; height: 40px; }
	html.civ-fab-shown .civ-totop { bottom: 72px; }
	html.civ-fab-shown.civ-fab-min .civ-totop { right: 20px; bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .civ-totop { transition: opacity .2s ease, visibility 0s linear .2s; } }

/* Floor plan: small price note (e.g. "** MFTE is $1779/ mo") at the bottom of the "View leasing" panel */
.civ-plan__note { margin: 0; font-size: 14px; font-weight: 400; line-height: 20px; color: var(--civ-gray-500, #6b7280); }
.civ-plan__units + .civ-plan__note { margin-top: 12px; }

/* ==========================================================================
   Smart header: hides when scrolling down, slides back in when scrolling up
   (desktop + phone). Overlay header (home hero) becomes fixed; normal header is sticky.
   ========================================================================== */
.civ-header { position: sticky; top: 0; transition: transform .4s var(--civ-ease-out, ease), background-color .3s ease, box-shadow .3s ease; will-change: transform; }
.admin-bar .civ-header { top: 32px; }
.civ-header--overlay { position: fixed; }
.civ-header.is-scrolled { background: rgba(0, 20, 22, .94); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.civ-header.is-hidden { transform: translate3d(0, calc(-100% - 40px), 0); box-shadow: none; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.civ-header.is-scrolled { background: rgba(0, 20, 22, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
@media (max-width: 782px) { .admin-bar .civ-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .civ-header.is-scrolled { top: 0; } } /* WP admin bar scrolls away on small screens */
@media (max-width: 575.98px) {
	body:not(.civ-home) .civ-header--overlay { position: sticky; top: 0; }
	.admin-bar:not(.civ-home) .civ-header--overlay { top: 46px; }
}
@media (prefers-reduced-motion: reduce) { .civ-header { transition: background-color .2s ease; } }

/* Phones: zoom icon behaves like desktop — hidden, centered, shown on touch. Smaller circle on small cards. */
@media (max-width: 575.98px) {
	.civ-plan__zoom { width: 44px; height: 44px; }
	.civ-plan__zoom img, .civ-gallery__item .civ-gallery__zoom img { width: 20px; height: 20px; }
}

/* Gallery pagination (same pager as Blogs) */
.civ-gallery { scroll-margin-top: 90px; }
.civ-gallery .civ-pager { margin-top: 40px; }
@media (max-width: 575.98px) { .civ-gallery .civ-pager { margin-top: 28px; } }

/* Photos with white bars baked in: the theme crops past the bars (inline size/position set by PHP/JS) */
.civ-gallery__item img.is-trimmed { inset: auto; transform-origin: 50% 50%; }
.civ-fpv__thumb.is-trimmed { overflow: hidden; }
.civ-fpv__thumb.is-trimmed img { position: absolute; }

/* ==========================================================================
   Floor plan cards v2 — availability at a glance (badge, status, CTA, unit chips)
   ========================================================================== */
.civ-plan { position: relative; padding: 16px 16px 20px; border: 1px solid #eceef1; border-radius: 16px; background: var(--civ-white); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 28px -18px rgba(16, 24, 40, .18); }
.civ-plan.is-available { }
.civ-plan__visual { position: relative; }
.civ-plan__visual .civ-plan__media { overflow: hidden; border-radius: 10px; background: var(--civ-white); }
.civ-plan__badge { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 18px; letter-spacing: .03em; text-transform: uppercase; pointer-events: none; }
.civ-plan__badge svg { flex: 0 0 18px; width: 18px; height: 18px; }
.civ-plan__badge--full { background: rgba(238, 240, 242, .95); color: #4b5563; }
.civ-plan__badge--open { background: #1f7a4a; color: var(--civ-white); box-shadow: 0 6px 16px -6px rgba(31, 122, 74, .6); }
.civ-plan__badge--open svg path { stroke: #1f7a4a; }
.civ-plan__body { gap: 14px; padding: 20px 4px 0; }
.civ-plan__title { font-size: 26px; line-height: 1.3; }
.civ-plan__price { font-size: 22px; line-height: 1.4; }
.civ-plan__price span { font-size: 17px; color: #6b7280; }
.civ-plan__specs { display: flex; align-items: center; gap: 14px; width: 100%; font-size: 15px; line-height: 22px; color: #1f2937; }
.civ-plan__spec { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.civ-plan__spec img { flex-shrink: 0; opacity: .75; }
.civ-plan__spec--area { flex-shrink: 0; white-space: nowrap; }
.civ-plan__specs .civ-plan__divider { flex: 0 0 1px; height: 32px; }
.civ-plan__status { display: flex; align-items: center; gap: 10px; margin: 2px 0 0; font-size: 16px; font-weight: 600; line-height: 24px; }
.civ-plan__status svg { flex: 0 0 22px; width: 22px; height: 22px; }
.civ-plan__status--open { color: #1f7a4a; }
.civ-plan__status--full { color: #b42318; }
.civ-plan__cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 10px; font-size: 16px; font-weight: 600; line-height: 22px; text-decoration: none; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.civ-plan__cta svg { transition: transform .2s ease; }
.civ-plan__cta:hover svg { transform: translateX(3px); }
.civ-plan__cta--full { background: #eef0f2; color: #374151; }
.civ-plan__cta--full:hover { background: #e2e5e9; color: #1f2937; }
.civ-plan__cta--open { background: #1f7a4a; color: var(--civ-white); box-shadow: 0 8px 18px -10px rgba(31, 122, 74, .8); }
.civ-plan__cta--open:hover { background: #17633b; color: var(--civ-white); }
.civ-plan__cta:focus-visible { outline: 2px solid var(--civ-primary); outline-offset: 2px; }
.civ-plan__units-wrap { width: 100%; margin-top: 4px; padding-top: 16px; border-top: 1px solid #eceef1; }
.civ-plan__units-title { margin: 0 0 10px; font-size: 15px; font-weight: 600; line-height: 22px; color: var(--civ-black); }
.civ-plan__chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.civ-plan__chip { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 10px 9px 12px; border-radius: 10px; background: #f6f7f8; }
.civ-plan__chip-no { font-size: 15px; font-weight: 500; line-height: 22px; color: #374151; }
.civ-plan__chip-status { padding: 2px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 500; line-height: 18px; }
.civ-plan__chip--leased .civ-plan__chip-status { background: #fde8e7; color: #b42318; }
.civ-plan__chip--available { background: #e9f6ee; }
.civ-plan__chip--available .civ-plan__chip-no { font-weight: 600; color: #1f7a4a; }
.civ-plan__chip--available .civ-plan__chip-status { background: #c9f0d7; color: #146c3c; }
.civ-plan__units-wrap .civ-plan__note { margin-top: 12px; font-size: 13px; }
@media (max-width: 575.98px) {
	.civ-plan { padding: 12px 12px 16px; border-radius: 14px; }
	.civ-plan__title { font-size: 24px; }
	.civ-plan__price { font-size: 20px; }
	.civ-plan__badge { top: 10px; right: 10px; padding: 6px 12px 6px 9px; font-size: 12px; }
	.civ-plan__specs { font-size: 14px; gap: 12px; }
}

/* ==========================================================================
   Home "Modern Comfort": phones get a slider of Gallery photos (content width, dots below)
   ========================================================================== */
.civ-about__slider { display: none; }
@media (max-width: 575.98px) {
	.civ-about.has-slider .civ-about__media { display: none; }
	.civ-about__slider { position: relative; display: block; width: 100%; }
	.civ-about__track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.civ-about__track::-webkit-scrollbar { display: none; }
	.civ-about__track:focus-visible { outline: 2px solid var(--civ-primary); outline-offset: 2px; }
	.civ-about__slide { position: relative; flex: 0 0 100%; aspect-ratio: 7 / 5; overflow: hidden; background: var(--civ-gray-100); scroll-snap-align: center; scroll-snap-stop: always; }
	.civ-about__slide img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
	.civ-about__slide img.is-trimmed { inset: auto; }
	.civ-about__dots { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px; margin-top: 6px; }
	.civ-about__dot { position: relative; width: 14px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .3s ease; }
	.civ-about__dot::before { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-radius: 999px; background: #d9d9d9; transform: translate(-50%, -50%); transition: width .3s ease, background-color .3s ease; }
	.civ-about__dot.is-active { width: 30px; }
	.civ-about__dot.is-active::before { width: 24px; background: var(--civ-primary); }
	.civ-about__dot:focus-visible { outline: 2px solid var(--civ-primary); outline-offset: 0; border-radius: 4px; }
}
@media (max-width: 575.98px) and (prefers-reduced-motion: reduce) { .civ-about__track { scroll-behavior: auto; } }

/* Floor plan cards: every card the same height; status / button / units line up across a row */
.civ-plans__grid { align-items: stretch; }
.civ-plans__grid > .civ-plan { height: 100%; }
.civ-plan__body { flex: 1 1 auto; }
.civ-plan__specs { min-height: 44px; } /* room for a 2-line description, so short ones don't pull the rest up */
@media (min-width: 576px) { .civ-plans__grid { grid-auto-rows: 1fr; } }

/* reCAPTCHA: the floating badge would cover the "Schedule a Tour" button, so it is hidden and Google's notice is shown under each form instead */
.grecaptcha-badge { visibility: hidden !important; }
.civ-recaptcha-note { margin: 12px 0 0; font-size: 12px; line-height: 18px; color: var(--civ-gray-500, #6b7280); }
.civ-recaptcha-note a { color: inherit; text-decoration: underline; }
.civ-recaptcha-note a:hover { color: var(--civ-primary); }
.civ-recaptcha-note--tour { text-align: center; }
.civ-recaptcha-note--footer { color: rgba(255, 255, 255, .5); }
