:root {
	--patrinus-navy: #2d4b6c;
	--patrinus-sky: #92b0c8;
	--patrinus-sand: #c3b2a3;
	--patrinus-ink: #353738;
	--patrinus-muted: #6f7c84;
	--patrinus-line: #e1e7ea;
	--patrinus-paper: #fff;
	--patrinus-soft: #f5f7f8;
	--patrinus-shadow: 0 3px 12px rgba(20, 36, 52, 0.12);
	--patrinus-radius: 7px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	margin: 0;
	color: var(--patrinus-ink);
	background: var(--patrinus-paper);
	font-family: Inter, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	overflow-x: clip;
}

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

a {
	color: var(--patrinus-navy);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
select {
	cursor: pointer;
}

.patrinus-icon {
	display: block;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.patrinus-icon__fill {
	fill: currentColor;
	stroke: none;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.75em;
	color: #1f2122;
	font-family: Poppins, sans-serif;
	font-weight: 500;
	line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.1rem; }

p {
	margin: 0 0 1em;
}

.site-shell {
	width: min(100% - 40px, 1280px);
	margin-inline: auto;
}

.site-shell--narrow {
	width: min(100% - 40px, 1080px);
}

.section-padding {
	padding-block: clamp(56px, 7vw, 100px);
}

.text-center { text-align: center; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
	top: 10px;
	left: 10px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	color: #fff;
	background: #000;
}

:focus-visible {
	outline: 3px solid #f3b43b;
	outline-offset: 3px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 24px;
	border: 0;
	border-radius: var(--patrinus-radius);
	color: #fff;
	background: var(--patrinus-sky);
	font-family: Mulish, sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	box-shadow: 0 4px 8px rgba(45, 75, 108, 0.14);
	transition: transform 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
	color: #fff;
	background: #769bb9;
	text-decoration: none;
	transform: translateY(-1px);
}

/* Header */
.contact-bar {
	min-height: 48px;
	color: #fff;
	background: var(--patrinus-sand);
	font-size: 0.9rem;
	font-weight: 600;
}

.contact-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
}

.contact-bar__details,
.social-links {
	display: flex;
	align-items: center;
	gap: 24px;
}

.contact-bar a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
}

.contact-bar a:hover { text-decoration: none; }
.contact-bar svg { width: 18px; height: 18px; fill: currentColor; }

.social-links { gap: 12px; }
.social-links a {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-weight: 700;
}

.social-links a .patrinus-icon { width: 17px; height: 17px; }

.social-links--top a {
	width: 28px;
	height: 28px;
	color: var(--patrinus-ink);
	background: rgba(240, 255, 248, 0.93);
}

.main-header {
	position: relative;
	z-index: 30;
	color: #fff;
	background: var(--patrinus-navy);
}

.main-header__inner {
	display: grid;
	grid-template-columns: 190px 1fr 140px;
	align-items: center;
	gap: 28px;
	min-height: 130px;
}

.site-branding,
.site-footer__logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.custom-logo-link,
.patrinus-logo-fallback {
	display: block;
	width: 118px;
	height: 88px;
	overflow: hidden;
}

.custom-logo,
.patrinus-logo-fallback img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.primary-navigation .menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(22px, 3vw, 44px);
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-navigation a {
	color: #fff;
	font-family: Mulish, sans-serif;
	font-size: 1rem;
	font-weight: 700;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
	color: var(--patrinus-sky);
	text-decoration: none;
}

.button--header { min-width: 130px; }

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 0;
	border-radius: 7px;
	background: #6c6c69;
}

.nav-toggle span:not(.screen-reader-text) {
	display: block;
	height: 3px;
	margin: 4px 0;
	border-radius: 2px;
	background: #fff;
}

/* Home */
.home-hero {
	position: relative;
	height: clamp(410px, 36vw, 560px);
	background: #ccd4d8;
	overflow: hidden;
}

.home-hero__slide {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	opacity: 0;
	transform: scale(1.03);
	transition: opacity 900ms ease, transform 8s ease;
}

.home-hero__slide.is-active {
	opacity: 1;
	transform: scale(1);
}

.home-intro h1 {
	font-size: clamp(1.35rem, 2.2vw, 1.8rem);
	font-weight: 400;
}

.home-intro p {
	margin-bottom: 0.45em;
	font-family: Poppins, sans-serif;
	font-size: clamp(0.98rem, 1.7vw, 1.25rem);
	color: #505457;
}

.home-categories {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	padding: 10px;
	border: 1px solid #cfd8dc;
	border-radius: 18px;
}

.home-category {
	position: relative;
	min-height: 330px;
	border-radius: 13px;
	background-position: center;
	background-size: cover;
	overflow: hidden;
}

.home-category::before {
	position: absolute;
	inset: 0;
	content: '';
	background: rgba(8, 13, 10, 0.5);
}

.home-category__overlay {
	position: relative;
	z-index: 1;
	display: grid;
	place-content: center;
	justify-items: center;
	height: 100%;
	padding: 24px;
	text-align: center;
}

.home-category h2 { color: #fff; font-weight: 400; }

.home-about-cta {
	position: relative;
	display: grid;
	grid-template-columns: 58% 42%;
	align-items: center;
	min-height: 560px;
	margin-top: 10px;
}

.home-about-cta__visual {
	grid-column: 2;
	width: 100%;
	height: 100%;
	min-height: 500px;
	background: #5d6060;
	background-position: center;
	background-size: cover;
}

.home-about-cta__card {
	position: absolute;
	left: calc(50% + 60px);
	z-index: 2;
	width: min(520px, 40vw);
	padding: 56px 65px;
	border-radius: 16px;
	color: #fff;
	background: var(--patrinus-navy);
	text-align: center;
}

.home-about-cta__card h2 { color: #fff; font-size: 2rem; font-weight: 700; }
.home-about-cta__card p { font-weight: 600; line-height: 1.45; }

/* Footer */
.site-footer__main {
	display: grid;
	place-items: center;
	min-height: 370px;
	color: #fff;
	background: var(--patrinus-navy);
}

.site-footer__inner {
	display: grid;
	place-items: center;
	gap: 35px;
}

.site-footer__logo .custom-logo-link,
.site-footer__logo .patrinus-logo-fallback {
	width: 180px;
	height: 145px;
}

.social-links--footer a { color: var(--patrinus-sand); }
.social-links--footer a .patrinus-icon { width: 21px; height: 21px; }

.site-footer__legal {
	display: grid;
	place-items: center;
	min-height: 72px;
	color: #fff;
	background: var(--patrinus-sand);
	font-size: 0.85rem;
	font-weight: 600;
	text-align: center;
}

.site-footer__legal p { margin: 0; }
.site-footer__legal a { color: inherit; }

/* Property archive */
.properties-page { padding-block: 26px 80px; }

.filters-toggle {
	display: none;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid var(--patrinus-line);
	border-radius: 6px;
	color: var(--patrinus-ink);
	background: #fff;
}

.filters-toggle .patrinus-icon { width: 18px; height: 18px; }
.filters-toggle .patrinus-icon--chevron-down { margin-left: 2px; transition: transform 160ms ease; }
.filters-toggle[aria-expanded='true'] .patrinus-icon--chevron-down { transform: rotate(180deg); }

.mobile-filter-actions { display: none; }

.mobile-filter-submit {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	color: #fff;
	background: var(--patrinus-sky);
	box-shadow: var(--patrinus-shadow);
}

.mobile-filter-submit .patrinus-icon { width: 22px; height: 22px; stroke-width: 2.2; }

.property-filters {
	position: relative;
	z-index: 20;
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 8px;
}

.filter-menu {
	position: relative;
	margin: 0;
}

.filter-menu > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 40px;
	padding: 8px 10px;
	border: 1px solid var(--patrinus-line);
	border-radius: 7px;
	color: var(--patrinus-ink);
	background: #fff;
	font-size: 0.78rem;
	list-style: none;
	cursor: pointer;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.filter-menu > summary::-webkit-details-marker { display: none; }
.filter-menu > summary .patrinus-icon { width: 16px; height: 16px; stroke-width: 2; transition: transform 160ms ease; }
.filter-menu[open] > summary .patrinus-icon { transform: rotate(180deg); }
.filter-menu[open] > summary,
.filter-menu > summary:hover { border-color: #bfd0dc; box-shadow: 0 2px 6px rgba(20, 36, 52, 0.08); }
.filter-menu.has-value > summary { color: var(--patrinus-navy); border-color: var(--patrinus-sky); background: #f4f8fb; }

.filter-menu__panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 50;
	min-width: 240px;
	padding: 17px;
	border: 1px solid var(--patrinus-line);
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(20, 36, 52, 0.16);
}

.property-filters fieldset {
	display: grid;
	gap: 9px;
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
}

.filter-menu__panel legend,
.filter-field > span,
.filter-field > label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
}

.property-filters fieldset label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.86rem;
}

.property-filters input[type='checkbox'] {
	width: 15px;
	height: 15px;
	margin: 0;
	accent-color: var(--patrinus-navy);
}

.filter-field--range {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.filter-field--range > span { grid-column: 1 / -1; }

.filter-menu__panel--range {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	width: 330px;
}

.filter-menu__panel--range label {
	display: grid;
	gap: 6px;
	color: var(--patrinus-muted);
	font-size: 0.75rem;
}

.filter-menu__panel--advanced {
	display: grid;
	grid-template-columns: 1.1fr 1.2fr 1fr;
	align-items: end;
	gap: 14px;
	width: min(650px, calc(100vw - 40px));
}

.property-filters input[type='search'],
.property-filters select,
.sort-form select,
.inquiry-form input,
.inquiry-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 9px 13px;
	border: 1px solid #cad5db;
	border-radius: 6px;
	color: var(--patrinus-ink);
	background: #fff;
}

.property-filters__submit {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 7px;
	color: #fff;
	background: var(--patrinus-sky);
	box-shadow: 0 3px 8px rgba(45, 75, 108, 0.18);
}

.property-filters__submit:hover,
.property-filters__submit:focus-visible { background: #769bb9; }
.property-filters__submit .patrinus-icon { width: 21px; height: 21px; stroke-width: 2.2; }
.property-filters__reset { align-self: center; padding: 9px 4px; font-size: 0.78rem; }

.properties-toolbar {
	display: grid;
	gap: 8px;
	margin: 20px 0 24px;
}

.properties-toolbar h1 { margin: 0; font-size: 1.08rem; font-weight: 600; }

.properties-toolbar__controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.sort-form { display: flex; align-items: center; gap: 18px; }
.sort-form__label { color: #607386; font-size: 0.8rem; white-space: nowrap; }
.sort-form select { min-width: 144px; min-height: 40px; }

.layout-switcher { display: flex; gap: 6px; }
.layout-switcher a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 6px;
	color: var(--patrinus-muted);
	background: #eef2f4;
}

.layout-switcher .patrinus-icon { width: 18px; height: 18px; stroke-width: 2; }

.layout-switcher a:hover,
.layout-switcher a.is-active {
	color: #fff;
	background: var(--patrinus-sky);
	text-decoration: none;
}

.property-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.property-card {
	min-width: 0;
	background: #fff;
	box-shadow: 0 2px 7px rgba(25, 45, 60, 0.16);
}

.property-card__media {
	position: relative;
	aspect-ratio: 1.45 / 1;
	background: #dfe5e8;
	overflow: hidden;
}

.property-card__media > a { display: block; width: 100%; height: 100%; }

.property-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 250ms ease;
}

.property-card__image.is-active { opacity: 1; }
.property-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e7ecee, #c9d4d9); }

.property-favorite {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 7px;
	color: var(--patrinus-navy);
	background: rgba(255, 255, 255, 0.88);
	font-size: 1.45rem;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}

.property-favorite[aria-pressed='true'] { color: #a42b38; }
.property-favorite .patrinus-icon { width: 21px; height: 21px; stroke-width: 1.9; }
.property-favorite[aria-pressed='true'] .patrinus-icon { fill: currentColor; }

.property-card__arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0 0 3px;
	border: 0;
	border-radius: 7px;
	color: #fff;
	background: rgba(146, 176, 200, 0.94);
	font-family: Arial, sans-serif;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1;
	box-shadow: 0 1px 4px rgba(20, 36, 52, 0.12);
	transform: translateY(-50%);
}

.property-card__arrow:hover,
.property-card__arrow:focus-visible {
	background: rgba(146, 176, 200, 1);
	outline: 2px solid rgba(255, 255, 255, 0.9);
	outline-offset: -4px;
}

.property-card__arrow .patrinus-icon { width: 22px; height: 22px; stroke-width: 2.1; }

.property-card__arrow--prev { left: 12px; }
.property-card__arrow--next { right: 12px; }

.property-card__dots {
	position: absolute;
	left: 50%;
	bottom: 10px;
	display: flex;
	gap: 6px;
	transform: translateX(-50%);
}

.property-card__dots span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(146, 176, 200, 0.7);
}

.property-card__dots span.is-active { background: #fff; }

.property-card__body { padding: 18px 20px 17px; }
.property-card__body h2 {
	margin-bottom: 12px;
	font-size: 1.05rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.property-card__body h2 a { color: var(--patrinus-ink); }
.property-card__price { margin-bottom: 13px; color: #243a4f; font-weight: 700; }
.property-card__excerpt { display: none; }

.property-card__features,
.property-summary {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	padding: 0;
	margin: 0 0 10px;
	list-style: none;
	font-size: 0.78rem;
}

.property-card__features li,
.property-summary li { display: inline-flex; align-items: center; gap: 6px; }
.property-card__features .patrinus-icon,
.property-summary .patrinus-icon { width: 17px; height: 17px; color: #b0bec5; stroke-width: 1.7; }

.property-card__terms {
	margin: 0;
	color: #6c7d89;
	font-size: 0.76rem;
}

.property-card__terms span { margin-inline: 7px; color: var(--patrinus-sky); }

.patrinus-layout-list .property-grid { grid-template-columns: 1fr; gap: 18px; }
.patrinus-layout-list .property-card {
	display: grid;
	grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
	min-height: 205px;
	border: 1px solid var(--patrinus-line);
	box-shadow: 0 2px 5px rgba(25, 45, 60, 0.11);
}
.patrinus-layout-list .property-card__media { height: 205px; aspect-ratio: auto; }
.patrinus-layout-list .property-card__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto 1fr auto;
	align-content: stretch;
	column-gap: 28px;
	padding: 22px 28px 18px;
}
.patrinus-layout-list .property-card__body h2 { grid-column: 1; margin: 0; font-size: 1.25rem; font-weight: 400; }
.patrinus-layout-list .property-card__price { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.25rem; }
.patrinus-layout-list .property-card__excerpt {
	display: block;
	grid-column: 1 / -1;
	margin: 10px 0 12px;
	color: #4e5a6a;
	font-size: 0.84rem;
}
.patrinus-layout-list .property-card__features { grid-column: 1 / -1; align-self: start; margin: 0; }
.patrinus-layout-list .property-card__terms { grid-column: 1 / -1; align-self: end; }

.properties-results--map {
	display: grid;
	grid-template-columns: minmax(420px, 1fr) minmax(480px, 1fr);
	gap: 24px;
}

.properties-results--map .property-map {
	position: sticky;
	top: 20px;
	height: calc(100vh - 40px);
	min-height: 620px;
	border-radius: 10px;
	background: #e5eaed;
}

.properties-results--map .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.properties-empty { grid-column: 1 / -1; padding: 70px 20px; text-align: center; }

.navigation.pagination { margin-top: 45px; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.page-numbers { padding: 8px 13px; border: 1px solid var(--patrinus-line); border-radius: 5px; }
.page-numbers.current { color: #fff; background: var(--patrinus-navy); }

/* Single property */
.single-property { padding-block: 10px 90px; }
.single-property__header { padding: 18px 0 14px; }
.single-property__header h1 {
	max-width: 1040px;
	font-family: Mulish, sans-serif;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 700;
}

.breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	color: var(--patrinus-muted);
	font-size: 0.86rem;
}

.property-gallery { margin-top: 10px; }
.property-gallery__viewport {
	position: relative;
	aspect-ratio: 1.78 / 1;
	max-height: 700px;
	background: #e4e8ea;
	overflow: hidden;
}

.property-gallery__slide {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	opacity: 0;
	pointer-events: none;
}

.property-gallery__slide.is-active { opacity: 1; pointer-events: auto; }
.property-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }

.gallery-arrow,
.gallery-lightbox__arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 48px;
	height: 58px;
	padding: 0;
	border: 0;
	color: #fff;
	background: rgba(20, 35, 48, 0.45);
	font-size: 2.4rem;
	transform: translateY(-50%);
}

.gallery-arrow {
	width: 40px;
	height: 40px;
	color: #fff;
	background: rgba(146, 176, 200, 0.94);
	border-radius: 7px;
	box-shadow: 0 1px 4px rgba(20, 36, 52, 0.12);
	text-shadow: none;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
	background: rgba(146, 176, 200, 1);
	outline: 2px solid rgba(255, 255, 255, 0.9);
	outline-offset: -4px;
}

.gallery-arrow .patrinus-icon { width: 23px; height: 23px; stroke-width: 2.2; }

.gallery-arrow--prev,
.gallery-lightbox__arrow--prev { left: 0; }
.gallery-arrow--next,
.gallery-lightbox__arrow--next { right: 0; }

.property-gallery__counter {
	position: absolute;
	left: 50%;
	bottom: 16px;
	z-index: 4;
	padding: 6px 13px;
	border-radius: 5px;
	color: #fff;
	background: rgba(20, 35, 48, 0.78);
	font-weight: 700;
	transform: translateX(-50%);
}

.single-property__columns { width: min(100%, 930px); }
.single-property__main { padding-top: 22px; }
.property-taxonomy-line { color: #667985; font-size: 0.9rem; }
.property-taxonomy-line span { margin-inline: 7px; color: var(--patrinus-sky); }
.single-property__main > h2 { font-size: 1.35rem; }
.single-property__price { margin: 18px 0; font-size: 1.75rem; color: #243a4f; }

.property-section { margin-top: 54px; }
.property-section > h2 {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 26px;
	color: #4e5a6a;
	font-family: Lato, sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.5;
}

.property-section > h2::after {
	flex: 1;
	height: 1px;
	content: '';
	background: var(--patrinus-line);
}

.property-features { margin: 0; }
.property-features div { display: flex; gap: 5px; margin: 0 0 8px; }
.property-features dt { font-weight: 500; }
.property-features dd { margin: 0; }

.property-description__content { max-height: 300px; overflow: hidden; }
.property-description.is-expanded .property-description__content { max-height: none; }
.expand-button {
	padding: 8px 0;
	border: 0;
	color: var(--patrinus-navy);
	background: none;
}

.floor-plans { display: flex; flex-wrap: wrap; gap: 20px; }
.floor-plans a { display: block; width: 165px; border: 1px solid #adb8bd; }
.floor-plans img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }

.property-documents {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.property-documents a {
	display: flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	font-weight: 600;
}

.property-documents .patrinus-icon { width: 19px; height: 19px; color: var(--patrinus-sky); }

.property-inquiry { width: min(100%, 760px); }
.inquiry-form { display: grid; gap: 22px; padding: 10px 28px 0; }
.inquiry-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 400; }
.inquiry-form input,
.inquiry-form textarea { border-color: #cfd8dc; color: #263238; font-size: 14px; line-height: 1.7; }
.inquiry-form textarea { resize: vertical; }
.inquiry-form__consent { grid-template-columns: 20px 1fr; align-items: start; font-weight: 400 !important; }
.inquiry-form__consent input { min-height: 20px; }
.inquiry-form .button { justify-self: center; }
.patrinus-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-message { padding: 12px 16px; border-radius: 6px; }
.form-message--success { color: #1d5f3d; background: #e8f6ee; }
.form-message--error { color: #8f2631; background: #fdecef; }

.gallery-lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	max-height: none;
	padding: 0;
	border: 0;
	background: rgba(7, 15, 22, 0.96);
}

.gallery-lightbox::backdrop { background: rgba(7, 15, 22, 0.96); }
.gallery-lightbox[open] { display: grid; place-items: center; }
.gallery-lightbox figure { display: grid; place-items: center; width: 100%; height: 100%; margin: 0; padding: 50px 70px; }
.gallery-lightbox img { max-width: 100%; max-height: calc(100vh - 100px); object-fit: contain; }
.gallery-lightbox figcaption { position: absolute; bottom: 16px; color: #fff; }
.gallery-lightbox__close {
	position: absolute;
	top: 18px;
	right: 22px;
	z-index: 5;
	width: 45px;
	height: 45px;
	border: 0;
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.gallery-lightbox__close .patrinus-icon { width: 24px; height: 24px; margin: auto; stroke-width: 2; }
.gallery-lightbox__arrow .patrinus-icon { width: 28px; height: 28px; margin: auto; stroke-width: 2; }

/* Pages and blog */
.page-content,
.single-post-content { min-height: 520px; }
.entry-content > * { max-width: 100%; }
.entry-content p { margin-bottom: 1.25em; }
.entry-content ul,
.entry-content ol { padding-left: 1.35em; }

/* Native WordPress editor image alignment classes. */
.aligncenter,
.entry-content .aligncenter {
	clear: both;
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-block-image.aligncenter { text-align: center; }
.wp-block-image.aligncenter img { margin-right: auto; margin-left: auto; }

.entry-content .alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.entry-content .alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

.page-hero {
	display: grid;
	align-items: end;
	min-height: 260px;
	padding-bottom: 45px;
	color: #fff;
	background: linear-gradient(rgba(30, 54, 77, 0.58), rgba(30, 54, 77, 0.58)), url('../images/fallback/hero-1.jpg') center / cover;
}

.page-hero h1 { margin: 0; color: #fff; }

.patrinus-about-hero {
	position: relative;
	height: clamp(300px, 35vw, 520px);
	background: #ccd4d8;
	overflow: hidden;
}
.patrinus-about-hero__slide {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	opacity: 0;
	transition: opacity 500ms ease;
}
.patrinus-about-hero__slide.is-active { opacity: 1; }
.patrinus-about-hero > img { width: 100%; height: 100%; object-fit: cover; }
.about-page { overflow: clip; }
.patrinus-about-page > section { margin-block: 0; }
.patrinus-about-intro,
.patrinus-about-expertise {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(50px, 8vw, 120px);
}
.patrinus-about-intro figure,
.patrinus-about-expertise figure { margin: 0; }
.patrinus-about-intro__image,
.patrinus-about-expertise__image { position: relative; }
.patrinus-about-intro__image > img:first-child,
.patrinus-about-expertise__image > img:first-child {
	width: 100%;
	min-height: 430px;
	border: 8px solid #fff;
	border-radius: 12px;
	box-shadow: 0 0 0 1px var(--patrinus-line), var(--patrinus-shadow);
	object-fit: cover;
}
.patrinus-about-intro__logo {
	position: absolute;
	right: -42px;
	bottom: -62px;
	z-index: 2;
	width: clamp(150px, 15vw, 220px);
	height: auto;
	aspect-ratio: 1;
	border: 1px solid var(--patrinus-line);
	border-radius: 50%;
	background: #fff;
	box-shadow: var(--patrinus-shadow);
	object-fit: cover;
}
.patrinus-about-expertise__overlay--one,
.patrinus-about-expertise__overlay--two {
	position: absolute;
	z-index: 2;
	width: clamp(120px, 13vw, 190px);
	height: auto;
	aspect-ratio: 1;
	border: 7px solid #fff;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 1px var(--patrinus-line), var(--patrinus-shadow);
	object-fit: cover;
}
.patrinus-about-expertise__overlay--one { right: -58px; bottom: 26%; }
.patrinus-about-expertise__overlay--two { right: 16px; bottom: -38px; }
.patrinus-about-intro__copy,
.patrinus-about-expertise__copy { max-width: 590px; }
.patrinus-about-page .eyebrow {
	margin-bottom: 8px;
	color: var(--patrinus-sky);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}
.patrinus-about-agent img {
	width: 170px;
	height: 220px;
	margin: 0 auto 22px;
	object-fit: cover;
}
.patrinus-about-agent p { margin-inline: auto; }
.patrinus-about-cta {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 430px;
	overflow: hidden;
	color: #fff;
	text-align: center;
}
.patrinus-about-cta::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(30, 54, 77, 0.5);
}
.patrinus-about-cta > img,
.patrinus-about-cta > video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.patrinus-about-cta > video { opacity: 0; transition: opacity 350ms ease; }
.patrinus-about-cta.is-video-ready > video { opacity: 1; }
.patrinus-about-cta.is-video-ready > img { opacity: 0; }
.patrinus-about-cta > div { position: relative; z-index: 2; width: min(720px, calc(100% - 40px)); }
.patrinus-about-cta h2 { color: #fff; }
.patrinus-terms { color: var(--patrinus-muted); font-size: 0.9rem; }
.patrinus-terms h2,
.patrinus-terms h3 { color: var(--patrinus-navy); }
.patrinus-terms h3 { margin-top: 2.2em; font-size: 1rem; }

.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: start; gap: clamp(45px, 8vw, 110px); }
.contact-layout__form { padding: 0; }
.contact-layout__form h1 { margin-bottom: 35px; }
.contact-layout__details {
	margin-top: 80px;
	padding: 38px;
	border-left: 4px solid var(--patrinus-sky);
	background: var(--patrinus-soft);
}
.contact-layout__details strong { color: var(--patrinus-navy); text-transform: uppercase; }

.blog-page > h1 { margin-bottom: 40px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { border: 1px solid var(--patrinus-line); background: #fff; box-shadow: var(--patrinus-shadow); }
.post-card__image { display: block; aspect-ratio: 1.55 / 1; background: var(--patrinus-soft); overflow: hidden; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card time,
.single-post-content time { color: var(--patrinus-muted); font-size: 0.8rem; }
.post-card h2 { margin-top: 8px; font-size: 1.2rem; }
.text-link { font-weight: 700; }
.single-post-content__image { margin: 30px 0; }

@media (max-width: 1120px) {
	.filter-menu__panel--advanced { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 520px; }
	.properties-results--map { grid-template-columns: 1fr; }
	.properties-results--map .property-map { position: relative; height: 460px; min-height: 0; }
	.properties-results--map .property-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.main-header__inner { grid-template-columns: 150px 1fr auto; min-height: 105px; }
	.nav-toggle { display: block; justify-self: end; }
	.button--header { display: none; }
	.primary-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 12px 20px 22px;
		background: var(--patrinus-navy);
		box-shadow: 0 8px 15px rgba(0, 0, 0, 0.18);
	}
	.primary-navigation.is-open { display: block; }
	.primary-navigation .menu { align-items: stretch; flex-direction: column; gap: 0; }
	.primary-navigation a { display: block; padding: 10px 4px; }
	.home-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-category { min-height: 300px; }
	.home-about-cta {
		display: grid;
		grid-template-columns: 1fr;
		place-items: center;
		min-height: 500px;
		padding: 90px 20px;
		background: #5d6060;
		isolation: isolate;
		overflow: hidden;
	}
	.home-about-cta::after {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 1;
		background: rgba(20, 35, 48, 0.38);
	}
	.home-about-cta__visual {
		position: absolute;
		inset: 0;
		grid-column: auto;
		display: block;
		width: 100%;
		height: 100%;
		min-height: 0;
		background-position: center;
	}
	.home-about-cta__card { position: relative; left: auto; width: min(100%, 560px); margin: auto; }
	.patrinus-about-intro,
	.patrinus-about-expertise { grid-template-columns: 1fr; gap: 35px; }
	.patrinus-about-expertise__copy { order: initial; }
	.patrinus-about-intro__image > img:first-child,
	.patrinus-about-expertise__image > img:first-child { min-height: 280px; }
	.contact-layout { grid-template-columns: 1fr; gap: 35px; }
	.contact-layout__details { margin-top: 0; }
	.property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.properties-results--map .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	body { font-size: 14px; }
	.site-shell,
	.site-shell--narrow { width: min(100% - 20px, 1280px); }
	.contact-bar__inner { min-height: 68px; }
	.contact-bar__details { width: 100%; justify-content: space-around; gap: 10px; }
	.contact-bar__details a { flex-direction: column; gap: 2px; font-size: 0.72rem; }
	.contact-bar__details svg { padding: 5px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.08); }
	.social-links--top { display: none; }
	.main-header__inner { grid-template-columns: 120px 1fr; min-height: 88px; }
	.site-branding { justify-content: flex-start; }
	.custom-logo-link,
	.patrinus-logo-fallback { width: 90px; height: 68px; }
	.home-hero { height: 380px; }
	.home-intro { padding-block: 52px; }
	.home-intro p { font-size: 0.92rem; }
	.home-categories { grid-template-columns: 1fr; border-radius: 10px; }
	.home-category { min-height: 310px; }
	.home-about-cta { padding: 70px 10px; }
	.home-about-cta__card { padding: 42px 24px; }
	.patrinus-about-hero { height: clamp(265px, 72vw, 320px); }
	.patrinus-about-intro__logo { right: 4px; bottom: -48px; width: 118px; }
	.patrinus-about-expertise__overlay--one,
	.patrinus-about-expertise__overlay--two { width: 92px; border-width: 4px; }
	.patrinus-about-expertise__overlay--one { right: 3px; bottom: 22%; }
	.patrinus-about-expertise__overlay--two { right: 36px; bottom: -24px; }
	.patrinus-about-cta { min-height: 360px; }
	.site-footer__main { min-height: 360px; }
	.site-footer__legal { min-height: 92px; padding: 15px 0; font-size: 0.7rem; }
	.properties-page { padding-top: 10px; }
	.mobile-filter-actions { display: flex; gap: 12px; }
	.filters-toggle { display: inline-flex; }
	.property-filters {
		display: none;
		align-items: stretch;
		flex-direction: column;
		margin-top: 12px;
		padding: 12px;
		border: 1px solid var(--patrinus-line);
		border-radius: 7px;
		background: #fff;
		box-shadow: var(--patrinus-shadow);
	}
	.property-filters.is-open { display: flex; }
	.filter-menu { width: 100%; }
	.filter-menu > summary { width: 100%; min-height: 44px; font-size: 0.88rem; }
	.filter-menu__panel { position: static; width: 100%; min-width: 0; margin-top: 8px; box-shadow: none; }
	.filter-menu__panel--range,
	.filter-menu__panel--advanced { grid-template-columns: 1fr; width: 100%; }
	.property-filters__submit { align-self: flex-end; width: 44px; height: 44px; }
	.properties-toolbar { margin-top: 24px; }
	.properties-toolbar__controls { width: 100%; }
	.sort-form { flex: 1; gap: 8px; }
	.sort-form select { min-width: 0; }
	.layout-switcher a:first-child { display: none; }
	.property-grid,
	.properties-results--map .property-grid { grid-template-columns: 1fr; gap: 22px; }
	.property-card__media { aspect-ratio: 1.52 / 1; }
	.property-card__body { padding: 15px 14px 14px; }
	.property-card__body h2 { font-size: 1rem; }
	.property-card__features { gap: 17px; }
	.patrinus-layout-list .property-card { display: block; }
	.patrinus-layout-list .property-card__media { height: auto; aspect-ratio: 1.52 / 1; }
	.patrinus-layout-list .property-card__body { display: block; padding: 15px 14px 14px; }
	.patrinus-layout-list .property-card__body h2 { font-size: 1rem; font-weight: 600; }
	.patrinus-layout-list .property-card__price { margin: 8px 0 13px; font-size: 1rem; }
	.patrinus-layout-list .property-card__excerpt { display: none; }
	.properties-results--map .property-map { height: 340px; }
	.single-property { width: 100%; padding-bottom: 60px; }
	.single-property__header,
	.single-property__main,
	.property-inquiry { padding-inline: 10px; }
	.single-property__header h1 { font-size: 30px; }
	.property-gallery { margin-inline: 10px; }
	.property-gallery__viewport { aspect-ratio: 1 / .9; }
	.gallery-arrow { width: 40px; height: 40px; background: rgba(146, 176, 200, 0.94); }
	.single-property__columns { width: 100%; }
	.property-section { margin-top: 42px; }
	.property-section > h2 { font-size: 16px; line-height: 26px; }
	.property-description__content { max-height: 220px; }
	.inquiry-form { padding: 0 18px; }
	.gallery-lightbox figure { padding: 50px 15px; }
	.gallery-lightbox__arrow { width: 38px; background: rgba(20,35,48,.25); }
	.page-hero { min-height: 210px; }
	.contact-layout__form { padding: 25px 10px; }
	.post-grid { grid-template-columns: 1fr; }
	.entry-content .alignleft,
	.entry-content .alignright { float: none; margin-right: auto; margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
