/* Inter Variable — same family as linear.app (self-hosted). */
@font-face {
	font-family: "Inter Variable";
	src: url("../fonts/InterVariable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/*
 * Craiova Business — design tokens from linear.app (dark UI, Nov 2026).
 */
:root {
	--color-void: #08090a;
	--color-bg-level-1: #0f1011;
	--color-bg-level-3: #191a1b;
	--color-line-primary: #23252a;
	--color-line-secondary: #202122;
	--color-border-primary: #23252a;
	--color-border-translucent: #ffffff0d;
	--color-bg-translucent: #ffffff0d;
	--color-fg-primary: #f7f8f8;
	--color-fg-secondary: #d0d6e0;
	--color-fg-quaternary: #62666d;
	--color-text-tertiary: #8a8f98;
	--color-button-invert-bg: #e5e5e6;
	--color-button-invert-bg-hover: #ffffff;
	--color-accent: #7170ff;
	--color-accent-hover: #828fff;
	--color-acid-lime: #e4f222;
	--color-accent-tint: #18182f;
	--color-link-primary: #828fff;
	--color-green: #27a644;
	--color-red: #eb5757;
	--canvas: var(--color-void);
	--paper: var(--color-bg-level-1);
	--surface: var(--color-bg-level-3);
	--fill: var(--color-bg-translucent);
	--ink: var(--color-fg-primary);
	--text-body: var(--color-fg-secondary);
	--muted: var(--color-text-tertiary);
	--footer: var(--color-text-tertiary);
	--line: var(--color-border-primary);
	--line-strong: var(--color-line-secondary);
	--link: var(--color-link-primary);
	--link-hover: var(--color-fg-primary);
	--focus: var(--color-accent-hover);
	--accent: var(--color-accent);
	--accent-ink: var(--color-fg-primary);
	--btn-primary-bg: var(--color-button-invert-bg);
	--btn-primary-fg: var(--color-void);
	--btn-primary-hover: var(--color-button-invert-bg-hover);
	--btn-accent-bg: var(--color-acid-lime);
	--btn-accent-fg: var(--color-void);
	--btn-accent-hover: #eef553;
	--danger: var(--color-red);
	--open-bg: rgba(39, 166, 68, 0.14);
	--open-ink: #6ee7a0;
	--closed-bg: var(--color-bg-translucent);
	--closed-ink: var(--color-text-tertiary);
	--placeholder: var(--color-text-tertiary);
	--control-xl: 48px;
	--control-md: 44px;
	--header-nav-padding-y: var(--s-1);
	--header-height: calc(var(--control-md) + (2 * var(--header-nav-padding-y)));
	--header-offset: var(--header-height);
	--radius: 8px;
	--radius-tile: 12px;
	--radius-pill: 9999px;
	--radius-badge: 4px;
	--shadow-subtle: 0 0 0 1px var(--color-border-primary);
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.24);
	--shadow-cta: none;
	--shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.48);
	--input-bg: var(--color-bg-translucent);
	--input-border: var(--color-border-translucent);
	--page: 1200px;
	--measure: 36rem;
	--prose: 42rem;
	--gutter: 16px;
	--s-1: 8px;
	--s-2: 16px;
	--s-3: 24px;
	--s-4: 32px;
	--s-5: 48px;
	--s-6: 64px;
	--s-7: 96px;
	--stack: var(--s-1);
	--stack-lg: var(--s-3);
	--section-y: var(--s-7);
	--font-text: "Inter Variable", Inter, ui-sans-serif, system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
	--font-display: var(--font-text);
	--font-mono: ui-monospace, "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
	--font-weight-regular: 400;
	--font-weight-medium: 510;
	--font-weight-semibold: 600;
	--text-2xs: 0.75rem;
	--text-xs: 0.8125rem;
	--text-sm: 0.9375rem;
	--text-base: 1rem;
	--text-lg: 1.25rem;
	--text-xl: 1.5rem;
	--text-display: clamp(2.5rem, 4.5vw + 1rem, 4rem);
	--leading-tight: 1;
	--leading-snug: 1.33;
	--leading-body: 1.5;
	--tracking-tight: -0.022em;
	color-scheme: dark;
}

@media (min-width: 834px) {
	:root {
		--header-nav-padding-y: 6px;
		--header-height: calc(max(var(--control-nav, 36px), 32px) + (2 * var(--header-nav-padding-y)));
		--header-offset: var(--header-height);
	}
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--canvas);
	color: var(--text-body);
	font-family: var(--font-text);
	font-size: var(--text-base);
	line-height: var(--leading-body);
	letter-spacing: normal;
	font-weight: var(--font-weight-regular);
	padding-bottom: 0;
	font-feature-settings: "cv01" on, "ss03" on;
	font-variation-settings: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
#continut {
	padding-bottom: var(--s-5);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, p { margin: 0 0 var(--stack); }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--font-weight-medium); color: var(--ink); }
h1 { font-size: var(--text-display); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); max-width: 14em; }
h2 { font-size: var(--text-xl); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
h3 { font-size: var(--text-lg); line-height: var(--leading-snug); letter-spacing: -0.012em; }
:is(h1, h2, h3, p):last-child { margin-bottom: 0; }
.lede { font-size: var(--text-base); line-height: var(--leading-body); color: var(--muted); font-weight: 400; max-width: var(--measure); }
.eyebrow, .muted { color: var(--muted); }
.eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0; text-transform: none; margin-bottom: var(--s-1); }
.field, .directory-table th, .facts dt {
	font-size: var(--text-xs);
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--muted);
}
.crumbs, .map-link, .lightbox figcaption { font-size: var(--text-xs); line-height: var(--leading-body); font-weight: 400; color: var(--muted); }
.text-meta { font-size: var(--text-xs); line-height: var(--leading-body); color: var(--muted); font-weight: 400; }
.sr, .hp {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.skip {
	position: absolute;
	left: var(--gutter);
	top: -48px;
	background: var(--btn-primary-bg);
	color: var(--btn-primary-fg);
	padding: var(--s-1) var(--s-2);
	border: 2px solid var(--focus);
	border-radius: var(--radius-pill);
	z-index: 10000;
	font-weight: var(--font-weight-medium);
	text-decoration: none;
}
.skip:focus { top: var(--s-2); }
.card h2 a, .directory-table a { color: var(--ink); }
.card h2 a:hover, .directory-table a:hover { color: var(--ink); }
.hero-links a, .section-head a { color: var(--text-body); }
.hero-links a:hover, .section-head a:hover { color: var(--ink); }
:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}
.mac-search-field:focus-within,
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.hero-search input:focus-visible,
.hour input:focus-visible,
.button:focus-visible,
.chip:focus-visible,
.globalnav-cta:focus-visible,
.az a:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

.wrap, .directory, .notice {
	width: min(var(--page), calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
}

.mac-search-field {
	display: flex;
	align-items: center;
	gap: var(--s-1);
	width: 100%;
	min-height: var(--control-md);
	padding: 0 14px;
	border: 1px solid var(--input-border);
	border-radius: var(--radius);
	background: var(--input-bg);
	transition: border-color 160ms ease;
}
.mac-search-field:focus-within { border-color: var(--color-fg-secondary); }
.mac-search-icon {
	flex: 0 0 16px;
	color: var(--muted);
}
.mac-search-field input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: calc(var(--control-md) - 2px);
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: var(--leading-body);
	color: var(--text-body);
}
.mac-search-field input::placeholder { color: var(--placeholder); }

.filters-open, .button, .chip, .az a, .pager a, .pager span {
	min-height: var(--control-md);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	text-decoration: none;
	cursor: pointer;
	color: var(--text-body);
	font-size: var(--text-xs);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.011em;
	background: transparent;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}
:is(.filters-open, .button-secondary, .chip, .pager a):hover { border-color: var(--line-strong); background: var(--fill); color: var(--ink); text-decoration: none; }
.field input, .field select, .field textarea, .hour input, .hero-search input {
	width: 100%;
	min-height: var(--control-md);
	border: 1px solid var(--input-border);
	border-radius: var(--radius);
	background: var(--input-bg);
	padding: 12px 14px;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: var(--leading-body);
	color: var(--text-body);
	transition: border-color 160ms ease;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .hour input:focus-visible, .hero-search input:focus-visible { border-color: var(--color-fg-secondary); outline: none; }
input::placeholder, textarea::placeholder { color: var(--placeholder); }

.hero {
	padding: var(--s-6) 0 var(--section-y);
	background: var(--canvas);
	border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; gap: var(--stack); }
.hero-search, .filter-form, .stack { display: grid; gap: var(--stack); }
.hero-search { margin: var(--s-2) 0 0; max-width: var(--measure); }
.hero-links, .section-head, .card-kicker, .card-meta, .account-actions, .filter-actions { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); align-items: center; }
.hero-links { font-size: var(--text-xs); color: var(--muted); }
.hero-links a { color: var(--muted); font-weight: 500; }
.hero-links a:hover { color: var(--ink); }
.band { padding: var(--section-y) 0; }
.band > .section-head + * { margin-top: 0; }
.section-rule {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
	border-bottom: 1px solid var(--line);
}
.section-head { justify-content: space-between; align-items: baseline; margin-bottom: var(--stack-lg); padding-bottom: 0; border-bottom: 0; }
.section-head h2 { margin: 0; font-size: var(--text-xl); font-weight: var(--font-weight-medium); color: var(--ink); letter-spacing: var(--tracking-tight); }
.section-head a { font-size: var(--text-xs); font-weight: 400; color: var(--text-body); }
.section-head a:hover { color: var(--ink); }

.button {
	background: var(--btn-primary-bg);
	color: var(--btn-primary-fg);
	padding: 0 20px;
	border-color: var(--btn-primary-bg);
	border-radius: var(--radius-pill);
	font-weight: var(--font-weight-medium);
	font-size: var(--text-base);
}
.button-primary,
button.button[type="submit"],
.hero-search .button,
.callbar .button,
a.button:not(.button-secondary):not(.button-danger) {
	background: var(--btn-primary-bg);
	color: var(--btn-primary-fg);
	border-color: var(--btn-primary-bg);
	box-shadow: var(--shadow-cta);
}
.button-primary:hover,
button.button[type="submit"]:hover,
.hero-search .button:hover,
.callbar .button:hover,
a.button:not(.button-secondary):not(.button-danger):hover {
	background: var(--btn-primary-hover);
	border-color: var(--btn-primary-hover);
	color: var(--btn-primary-fg);
	text-decoration: none;
}
.button-secondary,
button.button.button-secondary[type="submit"] {
	background: transparent;
	color: var(--muted);
	border-color: var(--line);
	border-radius: var(--radius-pill);
}
.button-secondary:hover,
button.button.button-secondary[type="submit"]:hover {
	color: var(--ink);
	border-color: var(--line-strong);
	background: var(--fill);
}
.button-danger { background: rgba(235, 87, 87, 0.16); color: var(--color-fg-primary); border-color: var(--color-red); border-radius: var(--radius-pill); }
.badge, .pill {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 0 6px;
	border: 0;
	border-radius: var(--radius-badge);
	font-size: var(--text-2xs);
	line-height: 1.4;
	font-weight: 400;
}
.badge { background: var(--color-accent-tint); color: var(--color-accent-hover); }
.pill { background: var(--closed-bg); color: var(--closed-ink); }
.pill.is-open { background: var(--open-bg); color: var(--open-ink); }
.chip {
	text-decoration: none;
	color: var(--text-body);
	min-height: auto;
	padding: 4px 12px;
	border-radius: var(--radius-pill);
	border: 0;
	background: var(--fill);
	font-size: var(--text-xs);
	font-weight: 400;
}
.chip:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-1); max-width: 100%; }
.notice { margin-top: var(--s-2); padding: var(--s-2) var(--s-3); border-radius: var(--radius); box-shadow: var(--shadow-subtle); background: var(--paper); font-size: var(--text-sm); border: 0; color: var(--text-body); }
.notice-error { border-left-color: var(--danger); color: var(--danger); font-weight: 600; }
.field { display: grid; gap: var(--s-1); color: var(--muted); }
.field input, .field select, .field textarea {
	text-transform: none;
	font-weight: 400;
}
.field select {
	-webkit-appearance: none;
	appearance: none;
	height: var(--control-md);
	line-height: var(--control-md);
	padding: 0 40px 0 16px;
	cursor: pointer;
	background: var(--input-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%23d0d6e0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 12px 8px no-repeat;
}
.file {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--s-2);
	min-height: var(--control-md);
	padding: 0 var(--s-2) 0 var(--s-1);
	background: var(--input-bg);
	border: 1px solid var(--input-border);
	border-radius: var(--radius);
}
.field .file-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	opacity: 0;
	cursor: pointer;
	background: transparent;
}
.file-button {
	position: relative;
	z-index: 1;
	pointer-events: none;
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	min-height: 32px;
	padding: 0 12px;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--btn-primary-bg);
	color: var(--btn-primary-fg);
	font-size: var(--text-xs);
	font-weight: var(--font-weight-medium);
	letter-spacing: normal;
}
.file-name {
	position: relative;
	z-index: 1;
	pointer-events: none;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--muted);
	font-size: var(--text-sm);
	line-height: var(--leading-body);
}
.field textarea { min-height: 120px; padding: var(--s-2); resize: vertical; }
.field-error { color: var(--danger); margin: 0; font-size: var(--text-xs); }
.check {
	display: flex;
	gap: var(--s-2);
	align-items: flex-start;
	min-height: 0;
	color: var(--text-body);
	font-size: var(--text-base);
	line-height: var(--leading-body);
	cursor: pointer;
}
.check input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	min-height: 18px;
	margin: 2px 0 0;
	flex: 0 0 18px;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-badge);
	background: var(--input-bg);
	cursor: pointer;
	display: grid;
	place-content: center;
	transition: background-color 160ms ease, border-color 160ms ease;
}
.check input[type="checkbox"]:checked {
	background: var(--color-accent);
	border-color: var(--color-accent);
}
.check input[type="checkbox"]:checked::after {
	content: "";
	width: 5px;
	height: 9px;
	border: solid var(--color-fg-primary);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) translate(-1px, -1px);
}
.check input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}
.checks .check { justify-content: flex-start; }
.fields { display: grid; gap: var(--s-3); }
.field-row { display: grid; gap: var(--s-3); }
[data-premises] { display: grid; gap: var(--s-2); }
.fields fieldset.hours,
.fields fieldset.checks {
	margin: 0;
	padding: var(--s-3) 0 0;
	border: 0;
	border-top: 1px solid var(--line);
	display: grid;
	gap: var(--s-2);
}
.fields fieldset.checks { gap: var(--s-1); }
.fields fieldset > legend {
	padding: 0;
	margin: 0 0 var(--s-1);
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--ink);
	letter-spacing: -0.01em;
}
.sheet.stack > h2 {
	margin: 0;
	font-size: var(--text-lg);
	font-weight: 600;
	color: var(--ink);
	letter-spacing: -0.01em;
}
.sheet.stack > .muted {
	margin: 0;
	font-size: var(--text-sm);
	line-height: var(--leading-body);
	max-width: var(--measure);
}
.sheet.stack > form {
	margin-top: var(--s-1);
}
.sheet, .card, .facts, .map, .filters.is-open {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-tile);
	box-shadow: none;
}
.sheet { padding: var(--s-3); display: grid; gap: var(--stack-lg); }
.card { overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.card-zone { grid-template-rows: 1fr; }
.card-media { display: block; background: var(--surface); aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: var(--s-3); display: grid; gap: var(--stack); align-content: start; }
.card-kicker { gap: var(--s-1); margin: 0; }
.card-kicker .pill { order: 1; }
.card-kicker .badge { order: 2; margin-left: auto; }
.card h2 { font-size: var(--text-lg); line-height: var(--leading-snug); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.card h2 a, .directory-table a { color: var(--ink); text-decoration: none; }
.card h2 a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.card-body > p { margin: 0; font-size: var(--text-sm); line-height: var(--leading-body); color: var(--muted); }
.card-body > p:not(.muted) { color: var(--ink); }
.card-meta { font-size: var(--text-xs); gap: var(--s-2); }
.cards { display: grid; gap: var(--stack-lg); }
.table-wrap, .map-desktop { display: none; }
.empty { color: var(--muted); padding: var(--s-3) 0; }

.directory { margin-top: var(--s-4); }
.directory-head { display: flex; justify-content: space-between; gap: var(--s-2); align-items: flex-end; margin-bottom: var(--s-3); }
.filters {
	display: block;
	position: fixed;
	z-index: 50;
	left: var(--gutter);
	right: var(--gutter);
	bottom: calc(84px + env(safe-area-inset-bottom));
	padding: var(--s-3);
	max-height: min(80vh, 640px);
	overflow: auto;
	background: var(--paper);
	border: 1px solid var(--line);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
	transform: translateY(calc(100% + 32px));
	visibility: hidden;
	transition: transform 200ms ease, visibility 200ms;
}
.filters.is-open { transform: none; visibility: visible; }
body.filters-locked { overflow: hidden; }
body.filters-locked::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 45;
	background: rgba(0, 0, 0, 0.28);
}
.az {
	display: inline-flex;
	flex-wrap: wrap;
	gap: var(--s-1);
	margin: var(--s-2) 0;
	max-width: 100%;
}
.az a {
	min-width: var(--control-md);
	height: var(--control-md);
	padding: 0;
	text-transform: none;
	font-size: 0.875rem;
	font-weight: 700;
}
.az a.is-current { background: var(--fill); color: var(--ink); border-color: var(--line-strong); }
.map { height: 240px; min-height: 240px; margin: var(--s-2) 0; overflow: hidden; border-radius: var(--radius-tile); }
.map-home,
#cb-home-map.leaflet-container {
	height: 280px;
	min-height: 280px;
	margin: 0;
	box-shadow: var(--shadow-subtle);
	border-radius: var(--radius-tile);
	overflow: hidden;
}
#cb-home-map.leaflet-container { width: 100%; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-fold { background: var(--paper); border-radius: var(--radius-tile); box-shadow: var(--shadow-subtle); }
.map-fold summary { min-height: var(--control-md); display: flex; align-items: center; padding: 0 var(--s-2); cursor: pointer; font-size: var(--text-xs); font-weight: 600; }
.map-fold .map { margin: 0; border-top: 1px solid var(--line); }
.pager { display: flex; gap: var(--s-1); flex-wrap: wrap; padding: var(--stack-lg) 0 0; }

.profile { padding: var(--s-4) 0 var(--s-6); }
.profile .wrap { display: grid; gap: var(--stack-lg); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--s-1); color: var(--muted); margin: 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.profile-head { display: flex; justify-content: space-between; gap: var(--s-2); align-items: flex-start; }
.photo {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--surface);
	cursor: zoom-in;
	overflow: hidden;
}
.profile-hero .photo { border-radius: var(--radius-tile); box-shadow: var(--shadow-subtle); overflow: hidden; }
.profile-hero { margin: 0; }
.profile-hero .photo img { width: 100%; height: auto; display: block; }
.gallery { display: grid; grid-template-columns: 1fr; gap: var(--s-1); margin: var(--s-4) 0 var(--s-3); }
.gallery .photo { aspect-ratio: 4 / 3; border-radius: var(--radius-tile); background: var(--surface); box-shadow: var(--shadow-subtle); overflow: hidden; }
.gallery .photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.profile-grid { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.profile-grid h2 {
	margin: var(--s-4) 0 var(--stack);
	font-size: var(--text-lg);
	line-height: var(--leading-snug);
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--ink);
}
.profile-grid > div > h2:first-child,
.profile-grid .gallery + h2 { margin-top: 0; }
.facts { padding: var(--s-3); align-self: start; display: grid; gap: var(--stack); }
.facts h2 { margin: 0; font-size: var(--text-xs); line-height: var(--leading-snug); font-weight: 600; color: var(--muted); }
.facts dl { margin: 0; display: grid; gap: 0; }
.facts dl > div { display: grid; gap: var(--s-1); padding: var(--s-2) 0; border-bottom: 1px solid var(--line); }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-size: var(--text-base); line-height: var(--leading-body); font-weight: 400; letter-spacing: 0; text-transform: none; }
.facts .attr-list { margin: var(--s-2) 0 0; padding-top: var(--s-2); border-top: 1px solid var(--line); }
.facts p { margin: var(--s-3) 0 0; }
.profile-forms { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.profile .map { margin: var(--s-4) 0 0; }
.map-link { margin: var(--s-1) 0 0; font-size: 13px; line-height: 18px; letter-spacing: -0.08px; }
.sheet.stack > * { margin: 0; }
.sheet form { display: grid; gap: var(--s-3); }
.sheet .button { justify-self: start; }
.lightbox[open] {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 72px 16px 80px;
	border: 0;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	transform: none;
	transition: opacity 220ms cubic-bezier(0.2, 0.9, 0.3, 1), transform 220ms cubic-bezier(0.2, 0.9, 0.3, 1), overlay 220ms allow-discrete, display 220ms allow-discrete;
}
@starting-style {
	.lightbox[open] { opacity: 0; transform: scale(0.96); }
}
.lightbox::backdrop {
	background: rgba(8, 9, 10, 0.92);
	transition: opacity 220ms ease, overlay 220ms allow-discrete, display 220ms allow-discrete;
}
@starting-style {
	.lightbox[open]::backdrop { opacity: 0; }
}
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; justify-items: center; gap: var(--s-1); }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius-tile); background: var(--surface); }
.lightbox figcaption { margin: 0; color: var(--muted); font-size: 13px; line-height: 18px; letter-spacing: -0.08px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
	position: absolute;
	width: var(--control-md);
	height: var(--control-md);
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--ink);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; bottom: 16px; }
.lightbox-next { right: 16px; bottom: 16px; }
.lightbox-prev[hidden], .lightbox-next[hidden] { display: none; }
.hours-table { width: 100%; border-collapse: collapse; background: transparent; }
.hours-table th, .hours-table td, .directory-table th, .directory-table td { text-align: left; padding: var(--s-2) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.directory-table th, .directory-table td { padding: var(--s-2); }
.hours-table tr:last-child th, .hours-table tr:last-child td, .directory-table tr:last-child td { border-bottom: 0; }
.directory-table th { color: var(--muted); }
.directory-table tbody tr:hover { background: var(--surface); }
.reviews { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.owner-reply { background: var(--fill); border: 1px solid var(--line); padding: var(--s-2); font-size: var(--text-sm); }
.stars { display: inline-flex; gap: 2px; align-items: center; }
.stars i { width: 8px; height: 8px; background: var(--line); display: inline-block; }
.stars i.is-on { background: var(--color-accent-hover); }
.attr-list { display: flex; flex-wrap: wrap; gap: var(--s-1); padding: 0; list-style: none; margin: var(--s-2) 0 0; }
.attr-list li { background: var(--fill); border: 0; border-radius: var(--radius-badge); padding: var(--s-1) var(--s-2); font-size: var(--text-xs); }
.callbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	gap: var(--s-1);
	padding: var(--s-2) var(--gutter) calc(var(--s-2) + env(safe-area-inset-bottom));
	background: var(--color-bg-level-1);
	border-top: 1px solid var(--line);
	z-index: 25;
}
body:has(.callbar) { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.callbar .button { flex: 1; }
body.keyboard .callbar { display: none; }
body:has(.callbar) .profile { padding-bottom: 0; }
.account {
	width: min(720px, calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
	padding: var(--s-5) 0 0;
}
.account:not(.auth) {
	display: grid;
	gap: var(--s-3);
}
.account:not(.auth) > h1,
.listing > h1,
.auth > h1 {
	font-size: var(--text-xl);
	line-height: var(--leading-snug);
	letter-spacing: -0.012em;
	max-width: none;
	margin: 0;
}
.auth {
	width: min(420px, calc(100% - (var(--gutter) * 2)));
	padding-top: var(--s-5);
}
.auth > h1 { margin-bottom: var(--s-1); }
.auth > h1:not(:has(+ .lede)) { margin-bottom: var(--s-3); }
.auth > .lede { margin: 0 0 var(--s-3); }
.auth .sheet.stack { gap: var(--s-2); padding: var(--s-2); }
.auth .field { gap: var(--s-1); }
.auth .sheet .button, .auth > a.button { width: 100%; min-height: 50px; }
.auth .sheet .button { justify-self: stretch; }
.auth .notice { width: auto; margin: 0 0 var(--s-2); }
.auth-links { display: grid; gap: var(--s-1); margin-top: var(--s-2); }
.listing > .lede { margin: 0; max-width: var(--measure); }
.account form.sheet.stack,
.listing .sheet.stack {
	gap: var(--s-3);
	padding: var(--s-3);
}
.listing .field { gap: var(--s-1); }
.account form.sheet > .button[type="submit"],
.listing .sheet .button[type="submit"] {
	justify-self: stretch;
	width: 100%;
	min-height: 50px;
	margin-top: var(--s-1);
	padding-top: var(--s-3);
	border-top: 1px solid var(--line);
}
.keep-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.keep-photo { display: grid; gap: var(--s-1); }
.keep-photo img { width: 100%; height: 120px; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.photo-delete {
	justify-self: start;
	min-height: var(--control-md);
	padding: 0 var(--s-1);
	border: 1px solid transparent;
	background: none;
	color: var(--danger);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.listing .hour { background: var(--input-bg); }
.auth-links p { margin: 0; font-size: var(--text-base); line-height: var(--leading-body); }
.auth-links a { text-decoration: none; }
.account:has(.account-list):not(.account-with-sidebar) {
	width: min(var(--page), calc(100% - (var(--gutter) * 2)));
}
.account-with-sidebar {
	width: min(var(--page), calc(100% - (var(--gutter) * 2)));
}
.account-layout {
	display: grid;
	gap: var(--s-3);
	align-items: start;
}
.account-main {
	min-width: 0;
}

.account-main > h1 {
	margin-bottom: var(--s-3);
}
.account-sidebar {
	padding: var(--s-3);
	gap: var(--s-3);
}
.account-sidebar-name {
	margin: 0;
	font-size: var(--text-lg);
	line-height: var(--leading-snug);
	font-weight: 600;
	color: var(--ink);
	letter-spacing: -0.01em;
}
.account-sidebar-cta {
	margin: 0;
}
.account-sidebar-cta .button {
	display: flex;
	width: 100%;
	min-height: var(--control-md);
	justify-content: center;
}
.account-sidebar-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
}
.account-sidebar-nav li {
	border-top: 1px solid var(--line);
}
.account-sidebar-nav li:first-child {
	border-top: 0;
}
.account-sidebar-nav a {
	display: block;
	padding: var(--s-2) 0;
	font-size: var(--text-sm);
	line-height: var(--leading-body);
	font-weight: 500;
	color: var(--text-body);
	text-decoration: none;
}
.account-sidebar-nav a:hover {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.account-sidebar-nav a[aria-current="page"] {
	color: var(--ink);
}
.account-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: var(--s-2);
	grid-template-columns: 1fr;
}
.account-list-item {
	display: flex;
	flex-direction: column;
	gap: var(--s-2);
	height: 100%;
	padding: var(--s-3);
	background: var(--paper);
	border-radius: var(--radius-tile);
	box-shadow: var(--shadow-subtle);
	min-width: 0;
}
.account-list-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
	box-shadow: var(--shadow-subtle);
}
.account-list-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.account-list-thumb--empty {
	pointer-events: none;
}
.account-list-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-1) var(--s-2);
	min-width: 0;
}
.account-list-head strong {
	font-size: var(--text-base);
	line-height: var(--leading-snug);
	font-weight: 600;
	color: var(--ink);
}
.account-list-excerpt {
	margin: 0;
	font-size: var(--text-sm);
	line-height: var(--leading-body);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.account-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-2) var(--s-3);
	margin-top: auto;
	padding-top: var(--s-2);
	border-top: 1px solid var(--line);
}
.account-actions .account-delete {
	margin-left: auto;
}
.account-actions form {
	display: inline-flex;
	margin: 0;
}
.account-actions a {
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--text-body);
	text-decoration: none;
}
.account-actions a:hover {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.account-delete {
	background: none;
	border: 0;
	padding: 0;
	min-height: 44px;
	color: var(--danger);
	font-size: var(--text-sm);
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.account-delete:hover {
	color: var(--color-fg-primary);
}
.index-grid .sheet { padding: var(--s-3); }
.index-grid { display: grid; gap: var(--s-2); }
.index-grid ul { padding-left: var(--s-3); margin: 0; display: grid; gap: var(--s-1); }
.index-grid a { color: var(--text-body); }
.index-grid a:hover { color: var(--ink); }
.prose { max-width: var(--prose); }
.prose h1 { margin-bottom: var(--s-3); }
.prose p, .prose li { font-size: var(--text-base); line-height: var(--leading-body); max-width: var(--prose); }
.prose h2 { margin-top: var(--s-4); }
.profile-grid > div > .prose + h2 { margin-top: var(--s-4); }

.info-page {
	padding: var(--s-5) 0 var(--section-y);
	display: grid;
	gap: var(--s-4);
}
.info-head {
	display: grid;
	gap: var(--stack);
	max-width: var(--measure);
}
.info-head .eyebrow { margin-bottom: 0; }
.info-head h1 {
	max-width: none;
	margin-bottom: 0;
}
.info-head .lede { margin: 0; }
.info-layout {
	display: grid;
	gap: var(--s-3);
	align-items: start;
}
.info-body.prose {
	max-width: none;
	gap: var(--stack-lg);
	padding: var(--s-4);
}
.info-body.prose :is(p, ul, ol) {
	max-width: none;
	margin-bottom: 0;
}
.info-body.prose p + p { margin-top: var(--stack); }
.info-body.prose h2 {
	margin: 0;
	padding-top: var(--s-3);
	font-size: var(--text-lg);
	line-height: var(--leading-snug);
	font-weight: 600;
	letter-spacing: -0.01em;
}
.info-body.prose h2:not(:first-child) {
	margin-top: var(--s-4);
	border-top: 1px solid var(--line);
}
.info-body.prose ul,
.info-body.prose ol {
	padding-left: 1.25rem;
	margin: 0;
	display: grid;
	gap: var(--s-1);
}
.info-body.prose li::marker { color: var(--muted); }
.info-body--form {
	gap: var(--s-3);
	max-width: var(--prose);
}
.info-body--form .button[type="submit"] {
	width: 100%;
	min-height: 50px;
	margin-top: var(--s-1);
	padding-top: var(--s-3);
	border-top: 1px solid var(--line);
}
.info-aside {
	padding: var(--s-3);
	align-self: start;
}
.info-aside-title {
	margin: 0 0 var(--s-2);
	font-size: var(--text-xs);
	font-weight: 600;
	color: var(--muted);
}
.info-aside-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
}
.info-aside-nav li + li {
	border-top: 1px solid var(--line);
}
.info-aside-nav a {
	display: block;
	padding: var(--s-2) 0;
	color: var(--text-body);
	font-size: var(--text-sm);
	line-height: var(--leading-body);
	text-decoration: none;
}
.info-aside-nav a:hover {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.info-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	padding-top: var(--s-3);
	border-top: 1px solid var(--line);
}
.hours { border: 0; padding: 0; margin: var(--s-2) 0; display: grid; gap: var(--s-1); }
.hour { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-1); background: var(--input-bg); border: 1px solid var(--input-border); border-radius: var(--radius); padding: var(--s-2); }
.hour span, .hour .check { grid-column: 1 / -1; }
.hour span { font-weight: 600; }
.hour input[type="text"] {
	-webkit-appearance: none;
	appearance: none;
	text-align: center;
	padding: 0 4px;
	font-variant-numeric: tabular-nums;
}
.hour.is-closed .hour-time {
	color: var(--muted);
	background: transparent;
	pointer-events: none;
	cursor: default;
}
.danger-zone { margin-top: var(--s-4); }
.rating { display: flex; gap: var(--s-1); align-items: center; }

@media (min-width: 960px) {
	.info-layout--aside {
		grid-template-columns: minmax(0, 1fr) min(260px, 100%);
	}
}

@media (min-width: 640px) {
	.account-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--s-3);
	}
}

@media (min-width: 960px) {
	.account-layout {
		grid-template-columns: minmax(0, 1fr) min(280px, 100%);
	}
	.account-sidebar {
		position: sticky;
		top: calc(var(--header-height) + var(--s-2));
	}
}

@media (min-width: 768px) {
	#continut { padding-bottom: var(--s-7); }
	.cards, .index-grid, .field-row { grid-template-columns: 1fr 1fr; }
	:root { --gutter: 24px; --section-y: var(--s-6); }
	.hero { padding: var(--s-7) 0 var(--section-y); }
	.band { padding: var(--section-y) 0; }
	.cards, .index-grid { gap: var(--stack-lg); }
	.hero-search { grid-template-columns: 1fr auto; align-items: center; }
	.gallery { grid-template-columns: 1fr 1fr; }
	.lightbox[open] { padding: 64px 88px; }
	.lightbox-prev, .lightbox-next { top: 50%; bottom: auto; transform: translateY(-50%); }
	.hour { grid-template-columns: 120px auto minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
	.hour span, .hour .check { grid-column: auto; }
	.map-profile,
	#cb-profile-map.leaflet-container,
	.map-home,
	#cb-home-map.leaflet-container {
		height: 420px;
		min-height: 420px;
	}
}

#cb-profile-map.leaflet-container {
	width: 100%;
	border-radius: var(--radius-tile);
	overflow: hidden;
}

@media (min-width: 1024px) {
	.filters-open { display: none; }
	body, body:has(.callbar) { padding-bottom: 0; }
	:root { --gutter: 32px; }
	.filters { display: block; position: static; padding: 0; max-height: none; overflow: visible; background: none; border: 0; border-radius: 0; backdrop-filter: none; transform: none; visibility: visible; }
	body.filters-locked::before { content: none; }
	.filter-form { grid-template-columns: 1.4fr 1fr 1fr auto auto auto; align-items: end; }
	.directory .cards:not(.cards-home) { display: none; }
	.table-wrap { display: block; background: var(--paper); border-radius: var(--radius-tile); box-shadow: var(--shadow-subtle); overflow: auto; }
	.directory-table { width: 100%; border-collapse: collapse; }
	.directory-table .muted { display: block; }
	.map-fold { display: none; }
	.map-desktop { display: block; height: 420px; }
	.profile-grid { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr); }
	.profile-forms { grid-template-columns: 1fr 1fr; align-items: start; }
	#revendica .field-row { grid-template-columns: 1fr 1fr 1fr; }
	.callbar { display: none; }
	body:has(.callbar) .profile { padding-bottom: 0; }
	.cards-home { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
	.cards-zones { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
	.index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
