:root {
	--orange: #e66400;
	--orange-soft: #f28a34;
	--light: #fff2e8;
	--dark: #333;
	--btn-elegant-bg: linear-gradient(180deg, #fdf9f4 0%, #f4e9dc 100%);
	--btn-elegant-bg-hover: linear-gradient(180deg, #fbf4ec 0%, #eddcca 100%);
	--btn-elegant-border: #dcbfa2;
}
* { box-sizing: border-box; }
body {
	margin: 0;
	font-family: "Segoe UI", sans-serif;
	background-color: #fff;
	background-image: url("../fondo.png");
	background-position: 50% 50%;
	background-size: 145% 145%;
	background-repeat: no-repeat;
	background-attachment: scroll;
	animation: site-bg-drift 28s ease-in-out infinite alternate;
	color: var(--dark);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.location-picker {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
}

.location-picker__controls {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.location-picker__controls .input {
	flex: 1 1 220px;
}

.location-picker__map,
.location-view-map {
	width: 100%;
	min-height: 260px;
	border-radius: 12px;
	border: 1px solid #dfe3eb;
	overflow: hidden;
	background: #eef2fb;
}

.location-view-map {
	margin: 12px 0;
}

.location-history {
	list-style: none;
	padding: 0;
	margin: 8px 0 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.location-history li {
	border-bottom: 1px solid #eceff5;
	padding-bottom: 12px;
}

.location-history li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.form-hint {
	font-size: 0.85rem;
	color: #5c6474;
}

.small-text {
	font-size: 0.85rem;
}
@keyframes site-bg-drift {
	0% { background-position: 20% 25%; }
	50% { background-position: 80% 70%; }
	100% { background-position: 35% 80%; }
}
@media (prefers-reduced-motion: reduce) {
	body {
		animation: none;
	}
}
header {
	background: transparent;
	border-bottom: none;
	position: sticky;
	top: 0;
	z-index: 10;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
nav { max-width: 1100px; margin: 0 auto; padding: 16px; display: flex; align-items: center; gap: 16px; }
nav a { text-decoration: none; font-weight: 600; }
nav .brand { color: var(--orange); font-size: 20px; }
nav .brand img { width: 100px; display: block; background-color: white; border-radius: 10px; }
nav .spacer { flex: 1; }

/* Barra superior: logo + Publicar aviso */
.top-nav {
	max-width: 100%;
	width: 100%;
	margin: 0;
	background: var(--orange);
	border-bottom: 1px solid #cc5600;
	padding-bottom: 12px;
}
.top-nav .nav-primary {
	align-self: flex-start;
}

/* Barra secundaria: acceso usuario (Entrar/Registro o menú logueado) */
.auth-strip {
	background: rgba(238, 154, 92, 0.78);
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	border-bottom: 1px solid rgba(166, 86, 24, 0.16);
}
.auth-nav {
	max-width: 100%;
	width: 100%;
	margin: 0;
	padding-top: 10px;
	padding-bottom: 10px;
}

/* Acciones de navegación compartidas entre ambas barras */
.nav-primary,
.nav-auth {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.nav-auth {
	margin-left: auto;
}
.nav-link-white {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 10px;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.nav-link-white:hover,
.nav-link-white:focus-visible {
	color: #fff7ef;
	background: rgba(255, 255, 255, 0.12);
	transform: translateY(-1px);
}
.nav-primary--stack {
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	text-align: right;
}
.nav-primary--stack .nav-link-white {
	padding-bottom: 4px;
	justify-content: flex-end;
}
.nav-link-subtext {
	display: block;
	width: 100%;
	font-size: 13px;
	font-weight: 300;
	color: #fff;
	line-height: 1.15;
	opacity: 0.92;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	text-align: right;
}
.nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	font-size: 14px;
	border-radius: 8px;
	background: var(--btn-elegant-bg);
	color: #a34a00;
	border: 1px solid var(--btn-elegant-border);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
header nav .btn,
header nav .btn-outline {
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--btn-elegant-bg);
	color: #a34a00;
	border: 1px solid var(--btn-elegant-border);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.nav-btn:hover,
header nav .btn:hover,
header nav .btn-outline:hover {
	background: var(--btn-elegant-bg-hover);
	color: #7a2e00;
	transform: translateY(-1px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}
.nav-user {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.user-menu {
	position: relative;
	margin-left: 8px;
}
.user-menu__trigger {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--btn-elegant-bg);
	color: #a34a00;
	border: 1px solid var(--btn-elegant-border);
	font-weight: 600;
	font-size: 14px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.user-menu__trigger:hover,
.user-menu__trigger:focus-visible {
	background: var(--btn-elegant-bg-hover);
	color: #7a2e00;
	transform: translateY(-1px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}
.user-menu__trigger::-webkit-details-marker {
	display: none;
}
.user-menu__trigger::marker {
	content: "";
}
.user-menu__label {
	white-space: nowrap;
}
.user-menu__caret {
	font-size: 12px;
	transition: transform 0.12s ease;
}
.user-menu[open] .user-menu__caret {
	transform: rotate(180deg);
}
.user-menu__list {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	background: #fff;
	border: 1px solid #ffd2b0;
	border-radius: 12px;
	min-width: 200px;
	padding: 8px;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
	display: none;
	flex-direction: column;
	gap: 6px;
	z-index: 20;
}
.user-menu[open] .user-menu__list {
	display: flex;
}
.user-menu__item {
	padding: 8px 10px;
	border-radius: 8px;
	text-decoration: none;
	color: #a34a00;
	font-weight: 600;
	font-size: 14px;
}
.user-menu__item:hover,
.user-menu__item:focus-visible {
	background: #fff7f0;
	color: #7a2e00;
}
.user-menu__item--danger {
	color: #b33a1a;
}
.user-menu__item--danger:hover,
.user-menu__item--danger:focus-visible {
	background: #ffe9e4;
	color: #8a240f;
}
.avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #fff;
}
.avatar--sm {
	width: 32px;
	height: 32px;
}
.avatar--placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #ffe9d9;
	color: #a34a00;
	font-weight: 700;
}
.profile-avatar {
	margin-bottom: 12px;
}
.container { max-width: 1100px; margin: 24px auto; padding: 0 16px; flex: 1 0 auto; width: 100%; }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #f07a1f 0%, #e66400 100%);
	color: #fff;
	border: 1px solid #cc5600;
	padding: 10px 16px;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	letter-spacing: 0.2px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.15s ease;
	box-shadow: 0 8px 18px rgba(230, 100, 0, 0.25);
}
.btn:hover,
.btn:focus-visible {
	filter: brightness(1.05);
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(230, 100, 0, 0.35);
}
.btn:active {
	transform: translateY(0);
	box-shadow: 0 6px 14px rgba(230, 100, 0, 0.25);
}
.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--btn-elegant-bg);
	border: 1px solid var(--orange);
	color: #b14e00;
	padding: 10px 16px;
	font-size: 14px;
	border-radius: 10px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-outline:hover,
.btn-outline:focus-visible {
	background: var(--btn-elegant-bg-hover);
	color: #7a2e00;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
.btn-outline:active {
	transform: translateY(0);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}
.btn-outline--subtle {
	background: linear-gradient(180deg, #fcf8f2 0%, #f1e6da 100%);
	border-color: #ddd1c3;
	color: #4f4841;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}
.btn-outline--subtle:hover,
.btn-outline--subtle:focus-visible {
	background: linear-gradient(180deg, #f8f0e6 0%, #e9dac9 100%);
	color: #3f3933;
	border-color: #ccb9a5;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}
.btn-outline--danger {
	background: linear-gradient(180deg, #fff9f7 0%, #ffece7 100%);
	border-color: #f2c9bf;
	color: #b33a1a;
}
.btn-outline--danger:hover,
.btn-outline--danger:focus-visible {
	background: #ffe9e4;
	color: #8a240f;
	border-color: #e9b0a3;
}
.card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 16px; box-shadow: 0 8px 22px rgba(0,0,0,0.04); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hero {
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	border-radius: 18px;
	padding: 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.input { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; }
label { font-weight: 600; display: block; margin-top: 12px; }
.flash { background: #fff3e8; border: 1px solid #ffd2b0; color: #9a3b00; padding: 10px 12px; border-radius: 8px; margin-bottom: 16px; }
.badge { background: #fff1e6; color: #c75000; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.img-grid img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; }
.service-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-start;
}
.service-gallery img {
	width: 220px;
	height: 160px;
	object-fit: cover;
	border-radius: 10px;
}
.messages { border: 1px solid #eee; border-radius: 14px; padding: 12px; height: 320px; overflow-y: auto; background: #fff; }
.msg { margin: 8px 0; padding: 8px 10px; border-radius: 10px; max-width: 80%; }
.msg.me { background: #ffe9d9; margin-left: auto; }
.msg.other { background: #f5f5f5; }
.muted { color: #888; font-size: 12px; }
.link { color: var(--orange); text-decoration: none; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.filters .field { flex: 1 1 220px; }
.pagination { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 20px 0; }
.pagination a, .pagination span {
	padding: 6px 10px; border: 1px solid #eee; border-radius: 8px; text-decoration: none; color: var(--dark);
}
.pagination .active { background: var(--orange); color: #fff; border-color: var(--orange); }
.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 1000;
}
.modal.active { display: flex; }
.modal-content {
	background: #fff;
	border-radius: 12px;
	max-width: 900px;
	width: 100%;
	padding: 16px;
	position: relative;
}
.modal-image {
	width: 100%;
	max-height: 70vh;
	object-fit: contain;
	border-radius: 10px;
}
.modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 999px;
	width: 32px;
	height: 32px;
	cursor: pointer;
}
.modal-controls {
	display: flex;
	justify-content: space-between;
	margin-top: 12px;
}
.modal-controls button {
	border: 1px solid #eee;
	background: #fff;
	padding: 8px 12px;
	border-radius: 8px;
	cursor: pointer;
}
.site-footer {
	margin-top: 32px;
	padding: 28px 16px;
	background: #3c3c3c;
	border-top: 1px solid #2f2f2f;
	min-height: 72px;
}
.site-footer__content {
	max-width: 1100px;
	margin: 0 auto;
	color: #fff;
	font-size: 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.site-footer__links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 14px;
}
.site-footer__links a {
	color: #ffd8bf;
	text-decoration: none;
	font-weight: 600;
}
.site-footer__links a:hover,
.site-footer__links a:focus-visible {
	color: #fff;
	text-decoration: underline;
}
@media (max-width: 640px) {
	.site-footer__content {
		flex-direction: column;
		align-items: flex-start;
	}
}
.loader {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #a34a00;
	font-size: 12px;
}
.dot {
	width: 6px;
	height: 6px;
	background: var(--orange);
	border-radius: 50%;
	animation: bounce 1s infinite ease-in-out;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
	0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
	40% { transform: scale(1); opacity: 1; }
}
.input.invalid {
	border-color: #ff6b6b;
	background: #fff5f5;
}
.form-error { color: #c0392b; font-size: 12px; margin-top: 6px; }
.card--sm {
	max-width: 520px;
	margin: 0 auto;
}
.card--md {
	max-width: 720px;
	margin: 0 auto;
}
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.action-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.action-row--between {
	justify-content: space-between;
}
.action-row--end {
	justify-content: flex-end;
}
.form-inline {
	margin-top: 12px;
	display: flex;
	gap: 8px;
	align-items: center;
}
.action-link {
	color: var(--orange);
	text-decoration: none;
	font-weight: 600;
}
.action-link:hover,
.action-link:focus-visible {
	text-decoration: underline;
}
.chat-actions {
	margin-top: 16px;
	display: flex;
	justify-content: flex-end;
}
.chat-actions .btn-outline {
	background: linear-gradient(180deg, #fcf8f2 0%, #f1e6da 100%);
	border: 1px solid #ddd1c3;
	color: #4f4841;
	padding: 8px 14px;
	border-radius: 10px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.chat-actions .btn-outline:hover,
.chat-actions .btn-outline:focus-visible {
	background: linear-gradient(180deg, #f8f0e6 0%, #e9dac9 100%);
	color: #3f3933;
	border-color: #ccb9a5;
}
.social-buttons {
	margin-top: 16px;
	display: flex;
	gap: 12px;
	justify-content: center;
}
.social-btn {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid #ffd2b0;
	background: var(--btn-elegant-bg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.social-btn:hover,
.social-btn:focus-visible {
	background: var(--btn-elegant-bg-hover);
	transform: translateY(-1px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}
.social-btn img {
	width: 22px;
	height: 22px;
}
.suggest-panel {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999;
	font-family: inherit;
}
.suggest-tab {
	background: #3c3c3c;
	color: #fff;
	border: none;
	padding: 12px 10px;
	border-radius: 0 12px 12px 0;
	font-weight: 700;
	letter-spacing: 0.5px;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	cursor: pointer;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.suggest-panel__content {
	position: absolute;
	right: 44px;
	top: 50%;
	transform: translateY(-50%) translateX(320px);
	width: 320px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
	padding: 16px;
	opacity: 0;
	pointer-events: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.suggest-panel--open .suggest-panel__content {
	transform: translateY(-50%) translateX(0);
	opacity: 1;
	pointer-events: auto;
}
.suggest-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 700;
	color: #444;
	margin-bottom: 10px;
}
.suggest-panel__close {
	border: none;
	background: #f2f2f2;
	color: #444;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	cursor: pointer;
}
.suggest-panel .input,
.suggest-panel textarea.input {
	background: #fafafa;
}

.chat-widget {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 990;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}
.chat-widget__fab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #1ea952;
	color: #fff;
	border: 1px solid #178743;
	border-radius: 999px;
	padding: 10px 14px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 12px 24px rgba(16, 101, 50, 0.3);
}
.chat-widget__fab:hover,
.chat-widget__fab:focus-visible {
	background: #178743;
}
.chat-widget__badge {
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #fff;
	color: #1e8f4c;
	font-size: 12px;
	font-weight: 800;
}
.chat-widget__panel {
	width: min(360px, calc(100vw - 24px));
	max-height: 72vh;
	background: #e8f8ee;
	border: 1px solid #7fdf9f;
	border-radius: 14px;
	box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
	display: none;
	flex-direction: column;
	overflow: hidden;
}
.chat-widget--open .chat-widget__panel {
	display: flex;
}
.chat-widget__header {
	background: #1fa855;
	color: #fff;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.chat-widget__close {
	border: none;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	cursor: pointer;
}
.chat-widget__start {
	padding: 10px;
	background: #d8f2e3;
	border-bottom: 1px solid #b9e7cb;
}
.chat-widget__results,
.chat-widget__list {
	max-height: 140px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 8px 10px;
}
.chat-widget__results:empty,
.chat-widget__list:empty {
	padding: 0;
}
.chat-widget__pending-title {
	padding: 8px 10px 0;
	font-size: 12px;
	font-weight: 700;
	color: #1e6d3f;
}
.chat-widget__item {
	border: 1px solid #b9e7cb;
	background: #fff;
	padding: 8px;
	border-radius: 8px;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: #17512e;
}
.chat-widget__item--pending {
	border-color: #2fc76d;
	box-shadow: inset 0 0 0 1px rgba(47, 199, 109, 0.25);
}
.chat-widget__item-name {
	font-weight: 700;
	font-size: 13px;
}
.chat-widget__item-body {
	font-size: 12px;
	color: #2f6b45;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.chat-widget__thread {
	display: flex;
	flex-direction: column;
	min-height: 180px;
	border-top: 1px solid #b9e7cb;
	background: #f4fff8;
}
.chat-widget__thread-head {
	padding: 8px 10px;
	font-size: 12px;
	font-weight: 700;
	color: #1b6239;
	border-bottom: 1px solid #d0f0dc;
}
.chat-widget__messages {
	padding: 8px;
	flex: 1;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 110px;
}
.chat-widget__bubble {
	max-width: 82%;
	padding: 7px 9px;
	border-radius: 10px;
	font-size: 12px;
	line-height: 1.2;
	word-wrap: break-word;
}
.chat-widget__bubble--me {
	align-self: flex-end;
	background: #dcf8c6;
	color: #1f4b2f;
}
.chat-widget__bubble--other {
	align-self: flex-start;
	background: #fff;
	color: #25563a;
	border: 1px solid #d7f1e2;
}
.chat-widget__form {
	display: flex;
	gap: 8px;
	padding: 8px;
	border-top: 1px solid #d0f0dc;
	background: #ecfbf2;
}
.chat-widget__form .input {
	margin: 0;
}

@media (max-width: 768px) {
	.chat-widget {
		right: 10px;
		bottom: 10px;
	}
	.chat-widget__panel {
		width: min(360px, calc(100vw - 20px));
		max-height: 66vh;
	}
}

@media (max-width: 1024px) {
	.top-nav,
	.auth-nav {
		flex-wrap: wrap;
		gap: 12px;
	}
	.hero {
		flex-direction: column;
		align-items: flex-start;
	}
	.modal-content {
		max-width: 92vw;
	}
}

@media (max-width: 768px) {
	.container {
		margin: 16px auto;
		padding: 0 12px;
	}
	.top-nav,
	.auth-nav {
		gap: 10px;
	}
	.auth-nav .spacer {
		display: none;
	}
	.top-nav .spacer {
		flex: 1;
	}
	.nav-primary {
		margin-left: auto;
	}
	.nav-primary--stack {
		align-items: flex-end;
	}
	.nav-auth {
		justify-content: flex-end;
		flex-wrap: wrap;
		width: 100%;
	}
	.user-menu {
		margin-left: 0;
		width: 100%;
	}
	.user-menu__trigger {
		width: 100%;
		justify-content: space-between;
	}
	.user-menu__list {
		position: static;
		top: auto;
		right: auto;
		margin-top: 8px;
		width: 100%;
		min-width: 0;
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
		display: flex;
		overflow: hidden;
		max-height: 0;
		opacity: 0;
		padding-top: 0;
		padding-bottom: 0;
		pointer-events: none;
		transition: max-height 0.16s ease, opacity 0.14s ease, padding 0.14s ease;
	}
	.user-menu[open] .user-menu__list {
		max-height: 320px;
		opacity: 1;
		padding-top: 8px;
		padding-bottom: 8px;
		pointer-events: auto;
	}
	.nav-user {
		flex-wrap: wrap;
	}
	.user-menu__label {
		max-width: 120px;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.grid {
		grid-template-columns: 1fr;
	}
	.filters {
		flex-direction: column;
		align-items: stretch;
	}
	.filters .field {
		flex: 1 1 auto;
	}
	.service-gallery img {
		width: 100%;
		height: 180px;
	}
	.messages {
		height: 260px;
	}
	.msg {
		max-width: 100%;
	}
	.pagination {
		flex-wrap: wrap;
	}
	.social-buttons {
		flex-wrap: wrap;
	}
	.action-row--mobile-stack > * {
		flex: 1 1 100%;
	}
	.action-row--mobile-stack > .btn,
	.action-row--mobile-stack > .btn-outline,
	.action-row--mobile-stack > .action-link,
	.action-row--mobile-stack > button {
		width: 100%;
		justify-content: center;
	}
	.suggest-panel {
		right: 12px;
		left: auto;
		bottom: 16px;
		top: auto;
		transform: none;
	}
	.suggest-tab {
		writing-mode: horizontal-tb;
		transform: none;
		border-radius: 12px;
		padding: 10px 14px;
	}
	.suggest-panel__content {
		right: 0;
		top: auto;
		bottom: calc(100% + 12px);
		transform: translateY(16px);
		width: min(92vw, 320px);
	}
	.suggest-panel--open .suggest-panel__content {
		transform: translateY(0);
	}
}

@media (max-width: 480px) {
	.nav-btn,
	.nav-link-white,
	header .auth-nav .btn,
	header .auth-nav .btn-outline {
		padding: 8px 10px;
		font-size: 14px;
	}
	.avatar {
		width: 44px;
		height: 44px;
	}
	.card {
		padding: 12px;
	}
	.modal-controls {
		flex-direction: column;
		gap: 8px;
	}
}
