:root {
	--bg: #f5f7fa;
	--surface: #ffffff;
	--ink: #0f172a;
	--muted: #64748b;
	--line: #e2e8f0;
	--brand: #0d9488;
	--brand-dark: #0f766e;
	--brand-soft: #ccfbf1;
	--danger: #dc2626;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	--font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: #115e59; text-decoration: underline; }
img { border: 0; max-width: 100%; height: auto; }
h1, h2, h3 {
	font-family: var(--font);
	color: var(--ink);
	margin: 0 0 12px;
	font-weight: 700;
	letter-spacing: -0.03em;
}
h1 { font-size: clamp(1.75rem, 2.5vw, 2.25rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px 20px; padding: 0; }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus {
	left: 12px;
	top: 12px;
	background: #fff;
	padding: 8px 12px;
	z-index: 100;
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.wrap {
	max-width: 1200px;
	margin: 0 auto;
	background: var(--surface);
	min-height: 100vh;
	box-shadow: 0 0 0 1px var(--line);
}

.masthead {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(1.2) blur(10px);
	border-bottom: 1px solid var(--line);
}
.masthead-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 28px;
}
.brand { color: var(--ink); text-decoration: none; line-height: 1.15; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand strong { font-size: 1.35rem; font-weight: 800; display: block; color: var(--brand-dark); }
.brand small { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 500; }

.nav-burger {
	display: none;
	cursor: pointer;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 8px 12px;
	font-size: 0.875rem;
	font-weight: 650;
	color: var(--ink);
	background: #fff;
}
.site-nav { margin-left: auto; }
.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 4px;
}
.menu a, .menu a:visited {
	display: block;
	color: #334155;
	text-decoration: none;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 0.9375rem;
	font-weight: 600;
}
.menu a:hover { background: #f1f5f9; color: var(--ink); text-decoration: none; }
.current-menu-item > a,
.current_page_item > a {
	background: var(--brand-soft);
	color: var(--brand-dark);
}

.searchbar {
	background: #f8fafc;
	border-top: 1px solid var(--line);
	padding: 14px 28px;
}

.hero {
	background:
		radial-gradient(1200px 400px at 10% -20%, #ccfbf1 0%, transparent 55%),
		radial-gradient(900px 360px at 90% 0%, #e0f2fe 0%, transparent 50%),
		#f8fafc;
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: 40px 32px 32px;
	margin: 0 0 32px;
}
.hero p { color: var(--muted); font-size: 1.0625rem; margin-bottom: 22px; max-width: 40rem; }
.hero-search {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 18px 18px 12px;
	box-shadow: var(--shadow);
}

.layout {
	display: flex;
	align-items: flex-start;
}
.sidebar {
	width: 280px;
	flex: 0 0 280px;
	background: #fbfcfd;
	border-right: 1px solid var(--line);
	padding: 24px 18px 32px;
	box-sizing: border-box;
}
.content {
	flex: 1;
	min-width: 0;
	padding: 28px 32px 56px;
}

.box {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	margin: 0 0 16px;
	overflow: hidden;
}
.box h3 {
	margin: 0;
	padding: 12px 14px 8px;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
	border-bottom: 1px solid #f1f5f9;
}
.box .inner { padding: 12px 14px; font-size: 0.9rem; }
.box ul { margin: 0; padding: 0; list-style: none; }
.box li { margin: 0; padding: 7px 0; border-bottom: 1px solid #f1f5f9; }
.box li:last-child { border-bottom: 0; }
.box li a { text-decoration: none; color: #334155; }
.box li a:hover { color: var(--brand-dark); }
.box .count { color: #94a3b8; }

.filters { margin: 0; padding: 0; border: 0; }
.field { display: block; margin: 0 0 10px; }
.field span { display: block; font-weight: 650; color: #475569; font-size: 0.75rem; margin-bottom: 4px; }
.field input, .field select {
	width: 100%;
	box-sizing: border-box;
	font: 0.9375rem var(--font);
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	padding: 10px 12px;
	background: #fff;
	color: var(--ink);
}
.field input:focus, .field select:focus {
	outline: 0;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}
.filters-wide {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
	align-items: flex-end;
}
.filters-wide .field { margin: 0; flex: 1 1 140px; }
.filters-wide .field input,
.filters-wide .field select { width: 100%; }
.filters-actions {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}
.link-clear {
	font-size: 0.875rem;
	font-weight: 650;
	color: var(--muted);
}

.button {
	font: 650 0.9375rem var(--font);
	background: var(--brand);
	border: 0;
	border-radius: 999px;
	color: #fff;
	padding: 11px 20px;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
a.button, a.button:visited { color: #fff; }
.button:hover {
	background: var(--brand-dark);
	color: #fff;
	text-decoration: none;
}
.button-ghost {
	background: #fff;
	color: var(--ink);
	border: 1px solid var(--line);
}
.button-ghost:hover {
	background: #f8fafc;
	color: var(--ink);
}

.banner {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	padding: 12px 16px;
	margin: 0 0 20px;
	border-radius: 12px;
}

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 8px 0 18px;
}
.section-head h2 { margin: 0; }
.section-more { font-size: 0.9rem; font-weight: 650; }

.toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 18px;
	padding: 12px 14px;
	background: #f8fafc;
	border: 1px solid var(--line);
	border-radius: 14px;
}
.toolbar-count { font-weight: 650; color: #334155; }
.toolbar .field { margin: 0; min-width: 180px; }

.cards-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin: 0 0 28px;
}
.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
	display: flex;
	flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}
.card-media {
	display: block;
	position: relative;
	background: #e2e8f0;
	text-decoration: none;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.card-media img, .card-media .placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.photo-count {
	position: absolute;
	right: 12px;
	bottom: 12px;
	background: rgba(15, 23, 42, 0.72);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 999px;
}
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-type {
	display: inline-block;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted);
	font-weight: 700;
}
.card-title { font-size: 1.05rem; margin: 0; font-weight: 750; line-height: 1.3; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--brand-dark); text-decoration: none; }
.card-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}
.chip {
	display: inline-flex;
	align-items: center;
	background: #f1f5f9;
	color: #334155;
	border-radius: 999px;
	padding: 4px 9px;
	font-size: 0.75rem;
	font-weight: 650;
}
.card-price {
	color: var(--brand-dark);
	font-size: 1.25rem;
	font-weight: 800;
	margin: auto 0 0;
}
.gone { color: var(--danger); }
.gone-badge {
	position: absolute;
	left: 12px;
	top: 12px;
	background: var(--danger);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 5px 9px;
	border-radius: 999px;
}
.card.is-gone { opacity: 0.9; }

.city-grid { margin: 0; padding: 0 0 0 16px; }
.city-grid span { color: #94a3b8; font-size: 0.75rem; }

.faq-list dt { font-weight: 700; color: var(--ink); margin-top: 14px; }
.faq-list dd { margin: 0 0 8px 0; color: #475569; }

.crumbs { font-size: 0.8125rem; color: var(--muted); margin-bottom: 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; }
.crumbs li { display: inline; }
.crumbs li + li::before { content: " / "; color: #cbd5e1; }

.listing-place { color: var(--muted); margin-top: -4px; }
.listing-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}
.listing-sheet {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 24px;
	align-items: start;
	margin: 0 0 24px;
}
.photos {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}
.photos img {
	border-radius: 14px;
	width: 100%;
	height: 88px;
	object-fit: cover;
	background: #e2e8f0;
}
.photos img:first-child {
	grid-column: 1 / -1;
	height: auto;
	aspect-ratio: 16 / 10;
	max-height: 460px;
}
.offer {
	position: sticky;
	top: 88px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 20px;
	box-shadow: var(--shadow);
}
.offer-price { font-size: 1.75rem; color: var(--brand-dark); margin: 0 0 14px; font-weight: 800; }
.offer-price span { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.disclosure, .synced { font-size: 0.8125rem; color: var(--muted); }
.facts { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.facts th {
	text-align: left;
	color: var(--muted);
	font-weight: 650;
	padding: 7px 8px 7px 0;
	width: 42%;
}
.facts td { padding: 7px 0; }
.listing-body { color: #334155; }
.steps {
	background: #f8fafc;
	border: 1px solid var(--line);
	padding: 16px 16px 16px 36px;
	border-radius: 14px;
}

.mobile-cta {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 45;
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid var(--line);
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}
.mobile-cta .button { width: 100%; }

.nav-links { margin: 20px 0; }
.page-numbers {
	display: inline-block;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 12px;
	margin-right: 6px;
	text-decoration: none;
	background: #fff;
	color: #334155;
	font-weight: 650;
}
.page-numbers.current {
	background: var(--brand);
	color: #fff;
	border-color: var(--brand);
}

.site-footer {
	background: #0f172a;
	color: #cbd5e1;
	padding: 32px;
	font-size: 0.9rem;
}
.site-footer a, .site-footer a:visited { color: #fff; margin-right: 14px; }
.site-footer a:hover { color: #99f6e4; }
.footer-base { margin-top: 12px; color: #94a3b8; font-size: 0.8125rem; }

.cookie-bar {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 60;
	max-width: 720px;
	margin: 0 auto;
	background: #0f172a;
	color: #e2e8f0;
	border-radius: 16px;
	padding: 16px 18px;
	box-shadow: var(--shadow);
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}
.cookie-bar p { margin: 0; font-size: 0.875rem; max-width: 42rem; }
.cookie-actions { display: flex; gap: 8px; }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(15, 23, 42, 0.88);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.lightbox[hidden] { display: none !important; }
.lightbox img {
	max-width: min(1100px, 92vw);
	max-height: 86vh;
	border-radius: 12px;
	box-shadow: var(--shadow);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 1.75rem;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	cursor: pointer;
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
body.lightbox-open { overflow: hidden; }

@media (max-width: 960px) {
	.layout { display: block; }
	.sidebar {
		width: auto;
		flex: none;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}
	.cards-grid { grid-template-columns: 1fr; }
	.listing-sheet { grid-template-columns: 1fr; }
	.offer { position: static; }
	.content { padding: 20px 16px 88px; }
	.masthead-bar { padding: 12px 16px; flex-wrap: wrap; }
	.nav-burger { display: inline-block; }
	.site-nav {
		display: none;
		width: 100%;
		margin: 0;
	}
	.nav-toggle:checked ~ .site-nav { display: block; }
	.menu { flex-direction: column; padding: 8px 0 4px; }
	.menu a { border-radius: 10px; }
	.hero { padding: 24px 16px; border-radius: 18px; }
	.masthead { position: sticky; }
	.mobile-cta { display: block; }
	.photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.photos img { height: 72px; }
	.photos img:first-child { max-height: 280px; }
}
