/* Phone links & sticky WhatsApp */

/* Footer: single horizontal row on desktop */
.tqe-footer__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 1.5rem;
	align-items: start;
}

.tqe-footer__col--brand {
	grid-column: 1 / -1;
}

.tqe-footer__col--contact {
	grid-column: 1 / -1;
}

@media (min-width: 1024px) {
	.tqe-footer__row {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: flex-start;
		justify-content: space-between;
		gap: clamp(1rem, 2vw, 2rem);
	}

	.tqe-footer__col {
		flex: 1 1 0;
		min-width: 0;
	}

	.tqe-footer__col--brand {
		flex: 0 0 auto;
		width: 11rem;
		max-width: 11rem;
	}

	.tqe-footer__col--contact {
		flex: 1.15 1 0;
		min-width: 12rem;
		max-width: 14rem;
	}
}

.tqe-phones__title {
	margin: 0 0 1rem;
}

.tqe-phones__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tqe-phones__item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.5rem 0.75rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(106, 43, 8, 0.08);
}

.tqe-phones__item:last-child {
	border-bottom: none;
}

.tqe-phones__region {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #6a2b08;
	white-space: nowrap;
}

.tqe-phones__number-link {
	font-size: 13px;
	font-weight: 500;
	color: #1b1b1c;
	text-decoration: none;
	white-space: nowrap;
}

.tqe-phones__number-link:hover {
	color: #6a2b08;
	text-decoration: underline;
}

.tqe-phones__actions {
	display: inline-flex;
	flex-wrap: nowrap;
	gap: 0.35rem;
}

.tqe-phones__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
	padding: 0.3rem 0.55rem;
	border-radius: 9999px;
	transition: background 0.2s, color 0.2s;
	white-space: nowrap;
}

.tqe-phones__link .material-symbols-outlined {
	font-size: 15px;
}

.tqe-phones__link--call {
	color: #6a2b08;
	background: rgba(106, 43, 8, 0.08);
}

.tqe-phones__link--call:hover {
	background: rgba(106, 43, 8, 0.15);
}

.tqe-phones__link--wa {
	color: #fff;
	background: #25d366;
}

.tqe-phones__link--wa:hover {
	background: #1da851;
}

/* Footer column: compact vertical list, aligns with link columns */
.tqe-phones--footer {
	margin: 0;
	padding: 0;
	border: none;
}

.tqe-phones--footer .tqe-phones__title {
	margin-bottom: 1.5rem; /* matches mb-6 utility */
}

.tqe-phones--footer .tqe-phones__item {
	grid-template-columns: 2.75rem minmax(0, 1fr) auto;
	gap: 0.35rem 0.5rem;
	padding: 0.35rem 0;
}

.tqe-phones--footer .tqe-phones__number-link {
	font-size: 12px;
	white-space: normal;
	word-break: break-word;
}

.tqe-phones--footer .tqe-phones__link {
	padding: 0.3rem;
	min-width: 1.75rem;
}

/* Banner: book-trial / contact — 3 equal cards, side-by-side buttons */
.tqe-phones--banner .tqe-phones__title {
	text-align: center;
	margin-bottom: 1.25rem;
}

.tqe-phones__banner-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.tqe-phones__banner-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
	}
}

.tqe-phones__banner-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	padding: 1rem 1.1rem;
	border-radius: 1rem;
	background: #fcf9f8;
	border: 1px solid rgba(106, 43, 8, 0.1);
	text-align: center;
}

.tqe-phones__banner-head {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.tqe-phones__banner-card .tqe-phones__region {
	display: block;
}

.tqe-phones__banner-card .tqe-phones__number-link {
	font-size: 14px;
	font-weight: 600;
}

.tqe-phones__banner-card .tqe-phones__actions {
	justify-content: center;
}

.tqe-phones__banner-card .tqe-phones__link {
	flex: 1;
	max-width: 7rem;
	padding: 0.45rem 0.65rem;
	font-size: 12px;
}

/* Inline strip on homepage */
.tqe-phones--inline .tqe-phones__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1.25rem;
}

.tqe-phones--inline .tqe-phones__item {
	border: none;
	padding: 0.35rem 0.75rem;
	border-radius: 9999px;
	background: rgba(106, 43, 8, 0.04);
	grid-template-columns: auto auto auto;
}

/* Compact mobile nav */
.tqe-phones--compact {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(106, 43, 8, 0.1);
}

.tqe-phones--compact .tqe-phones__item {
	grid-template-columns: 3rem 1fr auto;
}

#tqe-mobile-nav .tqe-phones--compact {
	margin-top: 1rem;
	padding-top: 1rem;
}

/* Sticky WhatsApp */
.tqe-whatsapp-sticky {
	position: fixed;
	right: 1rem;
	bottom: 5.5rem;
	z-index: 60;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.75rem;
}

@media (min-width: 768px) {
	.tqe-whatsapp-sticky {
		bottom: 1.5rem;
	}
}

.tqe-whatsapp-sticky__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border: none;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
}

.tqe-whatsapp-sticky__toggle:hover {
	transform: scale(1.05);
}

.tqe-whatsapp-sticky__panel {
	width: min(17rem, calc(100vw - 2rem));
	padding: 0.85rem 1rem;
	border-radius: 1rem;
	background: #fff;
	border: 1px solid rgba(106, 43, 8, 0.1);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.tqe-whatsapp-sticky__panel[hidden]:not(.is-open) {
	display: none !important;
}

.tqe-whatsapp-sticky__panel.is-open {
	display: block;
}

.tqe-whatsapp-sticky__panel-title {
	margin: 0 0 0.5rem;
	font-size: 12px;
	font-weight: 700;
	color: #6a2b08;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.tqe-whatsapp-sticky__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tqe-whatsapp-sticky__option {
	display: block;
	padding: 0.5rem 0.65rem;
	border-radius: 0.65rem;
	text-decoration: none;
	margin-bottom: 0.25rem;
	background: #f6f3f2;
}

.tqe-whatsapp-sticky__option:hover {
	background: #e8f7ed;
}

.tqe-whatsapp-sticky__region {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	color: #6a2b08;
}

.tqe-whatsapp-sticky__num {
	display: block;
	font-size: 13px;
	color: #1b1b1c;
}

.tqe-whatsapp-sticky__call-note {
	margin: 0.5rem 0 0;
	font-size: 12px;
	color: #666;
	line-height: 1.45;
}

.tqe-whatsapp-sticky__tel {
	color: #6a2b08;
	text-decoration: underline;
}
