/* =========================================================================
   Owl Connects — Smart App QR
   Brand: Forest Green #1E5C47 · Font stack: Poppins (falls back gracefully)
   Prefix: owlc- (namespaced, safe to append to any existing footer stylesheet)
   ========================================================================= */

:root {
	--owlc-green: #1E5C47;
	--owlc-green-dark: #143f31;
	--owlc-green-light: #e7f1ed;
	--owlc-text: #1a1a1a;
	--owlc-muted: #5c6b66;
	--owlc-white: #ffffff;
	--owlc-radius: 12px;
	--owlc-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* -------------------------------------------------------------------------
   Footer widget — sits in the 4th footer column
   ------------------------------------------------------------------------- */

.owlc-footer-app-qr {
	font-family: var(--owlc-font);
	max-width: 260px;
}

.owlc-footer-app-qr__heading {
	font-size: 1.05rem;
	font-weight: 600;
	color: inherit;
	margin: -20px 0 8px;
}

.owlc-footer-app-qr__desc {
	font-size: 0.85rem;
	line-height: 1.5;
	opacity: 0.8;
	margin: 0 0 16px;
}

.owlc-footer-app-qr__code {
	background: var(--owlc-white);
	display: inline-block;
	padding: 10px;
	border-radius: var(--owlc-radius);
	line-height: 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	margin-bottom: 16px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.owlc-footer-app-qr__code:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.owlc-footer-app-qr__code img {
	display: block;
	width: 100%;
	max-width: 140px;
	height: auto;
	border-radius: 6px;
}

.owlc-footer-app-qr__badges {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.owlc-footer-app-qr__badge {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--owlc-green);
	color: var(--owlc-white);
	text-decoration: none;
	padding: 8px 14px;
	border-radius: 8px;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.owlc-footer-app-qr__badge:hover,
.owlc-footer-app-qr__badge:focus-visible {
	background-color: var(--owlc-green-dark);
	transform: translateY(-1px);
}

.owlc-footer-app-qr__badge svg {
	flex: 0 0 auto;
}

.owlc-footer-app-qr__badge span {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.owlc-footer-app-qr__badge small {
	font-size: 0.62rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.85;
}

.owlc-footer-app-qr__badge strong {
	font-size: 0.85rem;
	font-weight: 600;
}

/* Responsive: stack the QR above the badges on very narrow footer columns,
   and let the two badges sit side-by-side once there's room (tablet/desktop
   footer columns), but keep the mobile-first single column as default. */
@media (min-width: 420px) {
	.owlc-footer-app-qr__badges {
		flex-direction: row;
		flex-wrap: wrap;
	}
	.owlc-footer-app-qr__badge {
		flex: 1 1 auto;
	}
}

/* -------------------------------------------------------------------------
   Standalone /download page (shown to desktop visitors only)
   ------------------------------------------------------------------------- */

.owlc-download-page {
	margin: 0;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--owlc-green-light);
	font-family: var(--owlc-font);
	color: var(--owlc-text);
	padding: 24px;
	box-sizing: border-box;
}

.owlc-download-card {
	background: var(--owlc-white);
	border-radius: 20px;
	padding: 48px 40px;
	max-width: 420px;
	width: 100%;
	text-align: center;
	box-shadow: 0 10px 40px rgba(30, 92, 71, 0.12);
}

.owlc-download-card__logo {
	display: block;
	margin: 0 auto 20px;
}

.owlc-download-card__heading {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 12px;
	color: var(--owlc-green-dark);
}

.owlc-download-card__desc {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--owlc-muted);
	margin: 0 0 28px;
}

.owlc-download-card__buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
}

@media (min-width: 380px) {
	.owlc-download-card__buttons {
		flex-direction: row;
	}
}

.owlc-download-card__btn {
	flex: 1;
	display: inline-block;
	padding: 14px 18px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.owlc-download-card__btn:hover,
.owlc-download-card__btn:focus-visible {
	transform: translateY(-2px);
	opacity: 0.92;
}

.owlc-download-card__btn--ios {
	background: var(--owlc-text);
	color: var(--owlc-white);
}

.owlc-download-card__btn--android {
	background: var(--owlc-green);
	color: var(--owlc-white);
}

.owlc-download-card__website {
	display: inline-block;
	font-size: 0.85rem;
	color: var(--owlc-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.owlc-download-card__website:hover {
	color: var(--owlc-green-dark);
}
