/**
 * Minimal structural styles for reusable company components.
 * Visual layouts will be developed in a later project phase.
 */

.malamute-whatsapp-float {
	position: fixed;
	right: max(20px, env(safe-area-inset-right));
	bottom: max(20px, env(safe-area-inset-bottom));
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	text-decoration: none;
}

.malamute-whatsapp-float:hover {
	background: #1fb958;
	color: #fff;
}

.malamute-whatsapp-float:focus-visible,
.malamute-whatsapp-link:focus-visible {
	outline: 3px solid #111827;
	outline-offset: 3px;
}

.malamute-whatsapp-float__icon {
	font: 800 22px/1 system-ui, sans-serif;
}

/* The full/canvas modes do not load the theme's generic accessibility helpers. */
.malamute-whatsapp-float .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.malamute-whatsapp-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 6px;
	background: #25d366;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.malamute-testimonials {
	width: 100%;
}

.malamute-testimonials__items {
	display: grid;
	gap: 20px;
}

.malamute-testimonial-card {
	padding: 20px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
	color: #1d2327;
}

.malamute-testimonial-card.is-priority {
	border-inline-start: 4px solid #f5b800;
}

.malamute-testimonial-card__photo img {
	display: block;
	width: 72px;
	height: 72px;
	margin-bottom: 16px;
	border-radius: 50%;
	object-fit: cover;
}

.malamute-testimonial-card__quote {
	margin: 0 0 16px;
}

.malamute-testimonial-card__quote > :first-child {
	margin-top: 0;
}

.malamute-testimonial-card__quote > :last-child {
	margin-bottom: 0;
}

.malamute-testimonial-card__author {
	display: grid;
	gap: 2px;
}

.malamute-testimonial-card__author cite {
	font-style: normal;
	font-weight: 700;
}

.malamute-testimonial-card__author span,
.malamute-testimonials-empty {
	color: #646970;
}

.malamute-testimonial-card__role {
	margin: 0;
	color: #646970;
	font-size: 0.875rem;
}

/* Company Seals Component */
.malamute-company-seals {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	margin: 20px 0;
}

.malamute-company-seals--grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 20px;
}

.malamute-company-seals--row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
}

.malamute-seal-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.malamute-seal-image {
	max-height: 60px;
	width: auto;
	object-fit: contain;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.malamute-seal-link:hover .malamute-seal-image {
	transform: scale(1.05);
	opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {
	.malamute-whatsapp-float,
	.malamute-whatsapp-link,
	.malamute-seal-image {
		transition: none;
	}
}
