/* Mobile off-canvas drawer — exclusive to ≤900px */

.mobile-drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 24, 18, 0.52);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 260ms ease, visibility 260ms ease;
	z-index: 1000;
}

.mobile-drawer-overlay.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: min(88vw, 380px);
	height: 100dvh;
	max-height: 100dvh;
	background: #fff;
	transform: translate3d(100%, 0, 0);
	visibility: hidden;
	pointer-events: none;
	transition:
		transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0s linear 320ms;
	z-index: 1001;
	overflow-y: auto;
	overscroll-behavior: contain;
	box-shadow: -18px 0 48px rgba(0, 0, 0, 0.14);
	display: flex;
	flex-direction: column;
}

.mobile-drawer.is-open {
	transform: translate3d(0, 0, 0);
	visibility: visible;
	pointer-events: auto;
	transition:
		transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0s linear 0s;
}

.mobile-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px;
	border-bottom: 1px solid rgba(20, 61, 35, 0.1);
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 1;
}

.mobile-drawer__logo-link {
	display: flex;
	align-items: center;
	min-width: 0;
}

.mobile-drawer__logo {
	width: clamp(145px, 42vw, 170px);
	height: auto;
	display: block;
}

.mobile-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(20, 61, 35, 0.12);
	border-radius: 10px;
	background: #fff;
	color: #1b241e;
	cursor: pointer;
	transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.mobile-drawer__close:hover,
.mobile-drawer__close:focus-visible {
	color: #008f3e;
	border-color: rgba(0, 143, 62, 0.35);
	background: #f5faf7;
}

.mobile-drawer__close:focus-visible {
	outline: 2px solid #008A3D;
	outline-offset: 2px;
}

.mobile-drawer__body {
	padding: 8px 20px 24px;
	flex: 1 1 auto;
}

.mobile-drawer__nav {
	margin-bottom: 20px;
}

.mobile-drawer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-drawer-menu ul {
	list-style: none;
	margin: 0;
	padding: 0 0 0 12px;
}

.mobile-drawer-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 12px 0;
	color: #1b241e;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid rgba(20, 61, 35, 0.1);
	transition: color 180ms ease, padding-left 180ms ease;
}

.mobile-drawer-menu a:hover,
.mobile-drawer-menu a:focus-visible {
	color: #008f3e;
	padding-left: 4px;
}

.mobile-drawer-menu a:focus-visible {
	outline: none;
}

.mobile-drawer-menu .current-menu-item > a,
.mobile-drawer-menu .current_page_item > a,
.mobile-drawer-menu .current-menu-ancestor > a {
	color: #008f3e;
	font-weight: 600;
	position: relative;
	padding-left: 12px;
}

.mobile-drawer-menu .current-menu-item > a::before,
.mobile-drawer-menu .current_page_item > a::before,
.mobile-drawer-menu .current-menu-ancestor > a::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
	height: 18px;
	border-radius: 2px;
	background: #008f3e;
}

.mobile-drawer-menu .menu-item-has-children > a::after {
	content: '';
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-left: 10px;
	flex-shrink: 0;
	opacity: 0.55;
}

.mobile-drawer__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 50px;
	padding: 12px 20px;
	border-radius: 10px;
	background: var(--color-primary, #008A3D);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0, 138, 61, 0.28);
	transition: background-color 180ms ease, box-shadow 180ms ease, transform 120ms ease;
}

.mobile-drawer__cta:hover {
	background: var(--color-primary-dark, #005C2D);
	box-shadow: 0 6px 18px rgba(0, 138, 61, 0.34);
	transform: translateY(-1px);
}

.mobile-drawer__cta:focus-visible {
	outline: 2px solid var(--color-primary-dark, #005C2D);
	outline-offset: 3px;
}

.mobile-drawer__whatsapp {
	margin-top: 20px;
	padding: 18px;
	border-radius: 12px;
	background: #f5f7f6;
	border: 1px solid rgba(20, 61, 35, 0.08);
}

.mobile-drawer__wa-title {
	margin: 0 0 6px;
	font-size: 0.95rem;
	font-weight: 700;
	color: #1b241e;
	line-height: 1.35;
}

.mobile-drawer__wa-desc {
	margin: 0 0 14px;
	font-size: 0.85rem;
	color: #6f7672;
	line-height: 1.45;
}

.mobile-drawer__wa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	padding: 10px 16px;
	border-radius: 10px;
	background: #fff;
	color: #008f3e;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid rgba(0, 143, 62, 0.28);
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.mobile-drawer__wa-btn:hover,
.mobile-drawer__wa-btn:focus-visible {
	background: #008f3e;
	color: #fff;
	border-color: #008f3e;
}

.mobile-drawer__wa-btn:focus-visible {
	outline: 2px solid #005C2D;
	outline-offset: 2px;
}

.mobile-drawer__contact {
	margin-top: 24px;
}

.mobile-drawer__section-title {
	margin: 0 0 12px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6f7672;
}

.mobile-drawer__contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mobile-drawer__contact-list a,
.mobile-drawer__contact-list span {
	font-size: 0.92rem;
	color: #1b241e;
	text-decoration: none;
	line-height: 1.4;
}

.mobile-drawer__contact-list a:hover,
.mobile-drawer__contact-list a:focus-visible {
	color: #008f3e;
}

.mobile-drawer__hours {
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: #6f7672;
}

.mobile-drawer__hours span {
	color: #6f7672;
	font-size: 0.88rem;
}

.mobile-drawer__footer {
	margin-top: auto;
	padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
	border-top: 1px solid rgba(20, 61, 35, 0.1);
	background: #fff;
}

.mobile-drawer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mobile-drawer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	border: 1px solid rgba(20, 61, 35, 0.14);
	color: #1b241e;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.mobile-drawer__social-link:hover,
.mobile-drawer__social-link:focus-visible {
	background: #008f3e;
	border-color: #008f3e;
	color: #fff;
}

.mobile-drawer__social-link:focus-visible {
	outline: 2px solid #005C2D;
	outline-offset: 2px;
}

body.mobile-menu-open {
	overflow: hidden;
}

@media (min-width: 901px) {
	.mobile-drawer,
	.mobile-drawer-overlay,
	.mobile-menu-btn {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mobile-drawer,
	.mobile-drawer-overlay {
		transition: none !important;
	}
}
