/* ==========================================================================
   Footer: brand + contact · Quick Links · Category · Map · copyright bar
   ========================================================================== */
.tech-ae-footer {
	padding-top: 48px;
	background: var(--tech-ae-dark);
	color: var(--tech-ae-white);
	font-size: 15px;
}
.tech-ae-footer a { color: var(--tech-ae-white); }
.tech-ae-footer a:hover { color: var(--tech-ae-white); opacity: .75; }

.tech-ae-footer__grid { display: grid; gap: 36px 24px; grid-template-columns: 1fr; padding-bottom: 36px; }
.tech-ae-footer__col { min-width: 0; }

/* Brand column */
.tech-ae-footer__logo { display: inline-block; margin-bottom: 18px; }
.tech-ae-footer__logo img,
.tech-ae-footer__logo .custom-logo { display: block; width: auto; max-width: 260px; max-height: 60px; }
.tech-ae-footer__logo--text { color: var(--tech-ae-white); font-family: var(--tech-ae-font-head); font-size: 24px; font-weight: 700; }
.tech-ae-footer__about { max-width: 440px; margin: 0 0 20px; line-height: 1.7; opacity: .9; }

.tech-ae-footer__contact { display: grid; gap: 14px; margin: 0 0 26px; padding: 0; list-style: none; }
.tech-ae-footer__contact a { display: inline-flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.tech-ae-footer__contact .tech-ae-icon { margin-top: 2px; }

.tech-ae-footer__social { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tech-ae-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: var(--tech-ae-radius);
	background: var(--tech-ae-white);
	transition: background var(--tech-ae-ease), transform var(--tech-ae-ease);
}
.tech-ae-footer a.tech-ae-footer__social-link { color: var(--tech-ae-primary); opacity: 1; }
.tech-ae-footer a.tech-ae-footer__social-link:hover { background: var(--tech-ae-primary); color: var(--tech-ae-white); transform: translateY(-3px); }

/* Link columns */
.tech-ae-footer__title {
	margin: 0 0 16px;
	color: var(--tech-ae-white);
	font-family: var(--tech-ae-font-head);
	font-size: 19px;
	font-weight: 600;
}
.tech-ae-footer__links { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tech-ae-footer__links a { display: inline-block; opacity: .9; }
.tech-ae-footer__links a:hover,
.tech-ae-footer__links a:focus-visible { opacity: 1; }

/* Hover: a bottom line grows from left to right (links + contact text). */
.tech-ae-footer__links a,
.tech-ae-footer__contact a span { position: relative; padding-bottom: 3px; }
.tech-ae-footer__links a::after,
.tech-ae-footer__contact a span::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 100%;
	height: 1.5px;
	border-radius: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.tech-ae-footer__links a:hover::after,
.tech-ae-footer__links a:focus-visible::after,
.tech-ae-footer__contact a:hover span::after,
.tech-ae-footer__contact a:focus-visible span::after { transform: scaleX(1); transform-origin: left center; }
.tech-ae-footer__contact a:hover { opacity: 1; }
/* Address: no hover line (multi-line text). */
.tech-ae-footer__contact .tech-ae-footer__address span::after { content: none; }
@media (prefers-reduced-motion: reduce) {
	.tech-ae-footer__links a::after,
	.tech-ae-footer__contact a span::after { transition: none; }
}

/* Map */
.tech-ae-footer__map { overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--tech-ae-radius); background: var(--tech-ae-grey); }
.tech-ae-footer__map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Copyright bar */
.tech-ae-footer__bottom {
	margin: 0;
	padding: 18px 0 22px;
	border-top: 1px solid rgba(255, 255, 255, .55);
	font-size: 16px;
	text-align: center;
	opacity: .9;
}

@media (min-width: 576px) {
	.tech-ae-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tech-ae-footer__brand,
	.tech-ae-footer__map-col { grid-column: 1 / -1; }
}
@media (min-width: 992px) {
	.tech-ae-footer { padding-top: 56px; }
	.tech-ae-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 32px; padding-bottom: 44px; }
	.tech-ae-footer__brand,
	.tech-ae-footer__map-col { grid-column: auto; }
	.tech-ae-footer__map { aspect-ratio: auto; height: 250px; }
}

/* ==========================================================================
   Floating buttons: WhatsApp (bottom left) · back to top (right, above the Tawk.to chat)
   ========================================================================== */
.tech-ae-float {
	position: fixed;
	z-index: 900; /* Below the mobile drawer (1000). */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: var(--tech-ae-primary);
	color: var(--tech-ae-white);
	cursor: pointer;
	transition: background var(--tech-ae-ease), transform var(--tech-ae-ease), opacity .3s ease, visibility .3s ease;
}
.tech-ae-float:hover { background: var(--tech-ae-dark); color: var(--tech-ae-white); }

/* WhatsApp: round button in WhatsApp's own brand colours; the label slides out on hover (desktop). */
.tech-ae-float--whatsapp {
	left: 16px; bottom: 16px;
	height: 56px;
	min-width: 56px;
	padding: 0 15px;
	background: #25D366;
}
.tech-ae-float--whatsapp:hover,
.tech-ae-float--whatsapp:focus-visible { background: #128C7E; }
.tech-ae-float__label {
	max-width: 0;
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	transition: max-width .35s ease, opacity .25s ease, margin .35s ease;
}
@media (hover: hover) {
	.tech-ae-float--whatsapp:hover .tech-ae-float__label,
	.tech-ae-float--whatsapp:focus-visible .tech-ae-float__label { max-width: 180px; margin-left: 10px; opacity: 1; }
}

/* Back to top: right side, stacked above the Tawk.to bubble; shown after scrolling. */
.tech-ae-float--top {
	right: 20px; bottom: 110px;
	width: 46px; height: 46px;
	padding: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
}
.tech-ae-float--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.tech-ae-float--top:hover { transform: translateY(-3px); }

@media (min-width: 768px) {
	.tech-ae-float--whatsapp { left: 24px; bottom: 24px; }
	.tech-ae-float--top { right: 30px; bottom: 124px; }
}
body.tech-ae-lock .tech-ae-float { opacity: 0; visibility: hidden; } /* Hidden while the mobile menu is open. */

@media (prefers-reduced-motion: reduce) {
	.tech-ae-float, .tech-ae-float__label { transition: none; }
}
