:root { font-size: clamp(14px, 1.6vw, 18px); }
/* Fonts */
body { font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; }
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto; }

/* Utility classes migrated from inline styles */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.12) }
.vertical-wrap { writing-mode: vertical-rl; text-orientation: mixed; white-space: normal; }

/* Accent button used across pages */
.btn-accent { background-color: #70ca16; color: black; }
.btn-accent:hover { background-color: #536942; box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
.btn-accent:focus { outline: none; box-shadow: 0 0 0 4px rgba(83,105,66,0.12); }

/* Footer address constraint helper (kept from JS fallback) */
#footer-company-address { word-break: break-word; }

/* WhatsApp floating button */
#whatsapp-container {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	font-family: inherit;
}

#whatsapp-toggle {
	width: 56px;
	height: 56px;
	background: #25D366;
	color: #fff;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 25px rgba(0,0,0,0.18);
	border: none;
	cursor: pointer;
}
#whatsapp-toggle:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(0,0,0,0.24); }
#whatsapp-toggle svg { width: 28px; height: 28px; }

#whatsapp-panel {
	width: 320px;
	max-width: calc(100vw - 48px);
	background: #fff;
	border-radius: 12px;
	padding: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.12);
	transform-origin: bottom right;
	transition: opacity .15s ease, transform .15s ease;
}

.wa-hidden { opacity: 0; transform: translateY(8px) scale(.98); pointer-events: none; height: 0; overflow: hidden; }
.wa-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

#whatsapp-panel label { display: block; font-size: 13px; color: #111827; }
#whatsapp-panel input,
#whatsapp-panel textarea { width: 100%; margin-top: 6px; padding: 8px 10px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; }
#whatsapp-panel textarea { resize: vertical; min-height: 72px; }

.wa-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.wa-actions .btn-send { background: #25D366; color: #fff; padding: 8px 12px; border-radius: 8px; border: none; cursor: pointer; }
.wa-actions .btn-close { background: #f3f4f6; color: #111827; padding: 8px 12px; border-radius: 8px; border: none; cursor: pointer; }

@media (min-width: 768px) { #whatsapp-container { right: 28px; bottom: 28px; } }

/* Footer mobile: company full-width, then Quick Links + Contact side-by-side */
@media (max-width: 767px) {
	footer .grid.grid-cols-1 {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
		align-items: start;
	}

	/* make company block span both columns */
	footer .grid.grid-cols-1 > div:first-child {
		grid-column: 1 / -1;
	}

	/* Quick Links and Contact side-by-side and left-aligned */
	footer .grid.grid-cols-1 > div:nth-child(2),
	footer .grid.grid-cols-1 > div:nth-child(3) {
		text-align: left;
	}

	/* Slightly reduce padding on mobile footer for tighter layout */
	footer { padding-top: 1.5rem; padding-bottom: 1.5rem; }
}


