/**
 * Herbaquizz – Frontend Styles
 * Réplica fiel de los wireframes de docs/ui-wireframes/
 * Mobile first. Prefijo .hbq-. Sin estilos globales.
 */

/* ═══════════════════════════════════════
   VARIABLES
   ═══════════════════════════════════════ */
.hbq-app {
	--hbq-green: #647760;
	--hbq-green-hover: #52634f;
	--hbq-terra: #B96E49;
	--hbq-terra-bg: rgba(185, 110, 73, 0.05);
	--hbq-terra-shadow: rgba(185, 110, 73, 0.1);
	--hbq-terra-border: rgba(185, 110, 73, 0.5);
	--hbq-terra-line: rgba(185, 110, 73, 0.4);
	--hbq-bg: #F9F8F6;
	--hbq-surface: #FCFBF9;
	--hbq-white: #ffffff;
	--hbq-slate-900: #0f172a;
	--hbq-slate-800: #1e293b;
	--hbq-slate-600: #475569;
	--hbq-slate-400: #94a3b8;
	--hbq-slate-200: #e2e8f0;
	--hbq-gray-900: #111827;
	--hbq-gray-600: #4b5563;
	--hbq-gray-500: #6b7280;
	--hbq-gray-400: #9ca3af;
	--hbq-gray-200: #e5e7eb;
	--hbq-gray-100: #f3f4f6;
	--hbq-font-serif: Georgia, 'Times New Roman', Times, serif;
	--hbq-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════
   AISLAMIENTO DE TEMA
   Evita que botones, links y cards hereden azules/estilos del tema.
   ═══════════════════════════════════════ */
.hbq-app button,
.hbq-app input[type="button"],
.hbq-app input[type="submit"] {
	appearance: none;
	-webkit-appearance: none;
}
.hbq-app button:focus,
.hbq-app a:focus {
	outline: 2px solid var(--hbq-green);
	outline-offset: 2px;
}
.hbq-app button:focus:not(:focus-visible),
.hbq-app a:focus:not(:focus-visible) {
	outline: none;
}

/* ═══════════════════════════════════════
   APP CONTAINER
   ═══════════════════════════════════════ */
.hbq-app {
	font-family: inherit;
	color: var(--hbq-slate-900);
	line-height: 1.5;
	max-width: 32rem;
	margin: 0 auto;
	background: #FAF9F6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 1.0625rem;
}
.hbq-app *,
.hbq-app *::before,
.hbq-app *::after {
	box-sizing: border-box;
}
@media (min-width: 768px) {
	.hbq-app {
		max-width: 42rem;
		font-size: 1.125rem;
	}
}
@media (min-width: 1024px) {
	.hbq-app {
		max-width: 48rem;
	}
}
@media (min-width: 480px) {
	.hbq-app {
		box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
		margin: 2rem auto;
		border-radius: 1rem;
		overflow: hidden;
	}
}
@media (min-width: 1024px) {
	.hbq-app {
		margin-top: 4rem;
		margin-bottom: 4rem;
	}
}

/* ═══════════════════════════════════════
   SCREENS & TRANSITIONS
   ═══════════════════════════════════════ */
.hbq-screen {
	display: none;
}
.hbq-screen--active {
	display: block;
}
.hbq-screen--question.hbq-screen--active {
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
}
@media (min-width: 480px) {
	.hbq-screen--question.hbq-screen--active {
		min-height: 0;
	}
}
.hbq-screen--slide-left {
	animation: hbqSlideLeft .3s var(--hbq-ease) both;
}
.hbq-screen--slide-right {
	animation: hbqSlideRight .3s var(--hbq-ease) both;
}
.hbq-screen--fade {
	animation: hbqFade .25s ease both;
}
@keyframes hbqSlideLeft {
	from { opacity: 0; transform: translateX(24px); }
	to   { opacity: 1; transform: translateX(0); }
}
@keyframes hbqSlideRight {
	from { opacity: 0; transform: translateX(-24px); }
	to   { opacity: 1; transform: translateX(0); }
}
@keyframes hbqFade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* ═══════════════════════════════════════
   INTRO SCREEN
   Estructura = inicio.html: main > hero section > copy section
   ═══════════════════════════════════════ */

/* main.flex-grow.flex.flex-col.px-6.pb-12 */
.hbq-intro-main {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 0 1.5rem 3rem;
}
@media (max-width: 767px) {
	.hbq-intro-main {
		min-height: 100dvh;
		padding: 0 1.25rem 1.5rem;
	}
}
@media (min-width: 1024px) {
	.hbq-intro-main {
		padding: 2rem 2rem 4rem;
	}
	.hbq-intro-title {
		font-size: 3.5rem;
	}
	.hbq-intro-desc {
		font-size: 1.375rem;
	}
}

/* section.relative.mt-4.mb-8.overflow-hidden.rounded-2xl.shadow-sm */
.hbq-hero-section {
	position: relative;
	margin-top: 1rem;
	margin-bottom: 2rem;
	overflow: hidden;
	border-radius: 1rem;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
}
@media (max-width: 767px) {
	.hbq-hero-section {
		margin-top: 0.75rem;
		margin-bottom: 1.25rem;
	}
}
.hbq-hero-img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	display: block;
}
@media (max-width: 767px) {
	.hbq-hero-img,
	.hbq-hero-placeholder {
		height: 220px;
	}
}
.hbq-hero-placeholder {
	width: 100%;
	height: 400px;
	background: linear-gradient(180deg, #d1d5db 0%, #e5e7eb 100%);
}
.hbq-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .05);
	pointer-events: none;
}

/* section.text-center.max-w-md.mx-auto */
.hbq-intro-copy {
	text-align: center;
	max-width: 32rem;
	margin: 0 auto;
}

/* h1.font-serif.text-4xl.leading-tight.mb-6 */
.hbq-intro-title {
	font-family: Georgia, 'Times New Roman', Times, serif;
	font-size: 2.5rem;
	line-height: 1.25;
	color: #0f172a;
	margin: 0 0 1.5rem;
	font-weight: 400;
}
@media (max-width: 767px) {
	.hbq-intro-title {
		font-size: 2rem;
		line-height: 1.15;
		margin-bottom: 1rem;
	}
}
.hbq-intro-title-accent {
	font-style: italic;
}
@media (min-width: 768px) {
	.hbq-intro-title {
		font-size: 3.25rem;
		line-height: 1;
	}
}

/* div.w-16.h-px.bg-terracotta/40.mx-auto.mb-6 */
.hbq-intro-divider {
	width: 4rem;
	height: 1px;
	background: rgba(185, 110, 73, 0.4);
	margin: 0 auto 1.5rem;
}
@media (max-width: 767px) {
	.hbq-intro-divider {
		margin-bottom: 1rem;
	}
}

/* p.text-gray-600.font-light.leading-relaxed.mb-10.text-lg */
.hbq-intro-desc {
	font-size: 1.25rem;
	line-height: 1.625;
	font-weight: 300;
	color: #4b5563;
	margin: 0 0 2.5rem;
}
@media (max-width: 767px) {
	.hbq-intro-desc {
		font-size: 1rem;
		line-height: 1.45;
		margin-bottom: 1rem;
	}
}
.hbq-intro-text {
	font-size: 1.125rem;
	line-height: 1.625;
	font-weight: 300;
	color: #4b5563;
	margin: 0 0 2.5rem;
}
@media (max-width: 767px) {
	.hbq-intro-text {
		font-size: 0.9375rem;
		line-height: 1.45;
		margin-bottom: 1rem;
	}
}
.hbq-intro-text p {
	margin: 0 0 0.5rem;
}
.hbq-intro-text p:last-child {
	margin-bottom: 0;
}

/* div.space-y-4 */
.hbq-intro-actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
@media (max-width: 767px) {
	.hbq-intro-actions {
		gap: 0.75rem;
		margin-top: auto;
		padding-top: 0.5rem;
	}
}

/* button.w-full.py-4.px-8.bg-brandGreen.text-white.rounded-lg.shadow-lg.uppercase.tracking-widest.text-sm */
.hbq-intro-cta {
	display: block;
	width: 100%;
	padding: 1.125rem 2rem;
	background: #647760;
	color: #fff;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border: none;
	border-radius: 0.5rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
	cursor: pointer;
	transition: background-color 0.15s ease;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	text-align: center;
	line-height: 1.5;
	appearance: none;
	-webkit-appearance: none;
}
@media (max-width: 767px) {
	.hbq-intro-cta {
		padding: 0.95rem 1.5rem;
	}
}
.hbq-intro-cta:hover {
	background: #52634f;
}

/* p.text-xs.text-gray-400.uppercase.tracking-tighter */
.hbq-intro-microcopy {
	font-size: 0.8125rem;
	line-height: 1.25rem;
	color: #9ca3af;
	text-transform: uppercase;
	letter-spacing: -0.05em;
	margin: 0;
}

/* ═══════════════════════════════════════
   QUESTION SCREEN
   (replica pregunta.html)
   ═══════════════════════════════════════ */

/* Progress — cabecera informativa + barra */
.hbq-progress {
	width: 100%;
	padding: 0.75rem 1.5rem 0;
	flex-shrink: 0;
}
.hbq-progress__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5rem;
	font-size: 0.9375rem;
	color: var(--hbq-gray-500);
}
.hbq-progress__pct {
	font-weight: 500;
	color: var(--hbq-green);
}
.hbq-progress__step {
	font-weight: 400;
}
.hbq-progress__track {
	height: 2px;
	width: 100%;
	background: var(--hbq-gray-100);
	border-radius: 9999px;
	overflow: hidden;
}
.hbq-progress__bar {
	height: 100%;
	background: var(--hbq-green);
	transition: width 0.6s ease-out;
}

/* Question content — flex-grow flex flex-col px-8 py-10 max-w-lg mx-auto w-full */
.hbq-q-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 2.5rem 2rem;
	max-width: 36rem;
	margin: 0 auto;
	width: 100%;
}
@media (min-width: 1024px) {
	.hbq-q-body {
		padding: 3.5rem 2.5rem 4rem;
		max-width: 40rem;
	}
	.hbq-q-title {
		font-size: 2.75rem;
		margin-bottom: 1.25rem;
	}
	.hbq-q-desc {
		font-size: 1.25rem;
	}
	.hbq-q-icon img {
		width: 56px;
		height: 56px;
	}
	.hbq-option {
		padding: 1.5rem 1.75rem;
	}
	.hbq-option__title {
		font-size: 1.125rem;
		line-height: 1.5rem;
	}
	.hbq-option__desc {
		font-size: 1rem;
		line-height: 1.4rem;
	}
	.hbq-option__icon {
		width: 40px;
		height: 40px;
	}
	.hbq-options {
		gap: 1.25rem;
		margin-bottom: 3.5rem;
	}
	.hbq-progress {
		padding: 1rem 1.5rem 0;
	}
	.hbq-progress__header {
		font-size: 1rem;
	}
	.hbq-app .hbq-nav__prev {
		font-size: 1.0625rem;
	}
	.hbq-app .hbq-next-btn {
		font-size: 1.0625rem;
		padding: 1.25rem 2rem;
	}
}

/* Question header — mb-10 text-center */
.hbq-q-header {
	margin-bottom: 2.5rem;
	text-align: center;
}

/* Question icon (plugin-specific, subtle) */
.hbq-q-icon {
	text-align: center;
	margin-bottom: 0.75rem;
}
.hbq-q-icon img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	opacity: 0.7;
}

/* Question title — text-3xl font-serif text-gray-900 leading-tight mb-4 */
.hbq-q-title {
	font-family: var(--hbq-font-serif);
	font-size: 2.125rem;
	line-height: 1.25;
	color: var(--hbq-gray-900);
	margin: 0 0 1rem;
	font-weight: 400;
}
@media (min-width: 640px) {
	.hbq-q-title {
		font-size: 2.5rem;
	}
}

/* Question description — text-gray-500 font-light text-base leading-relaxed */
.hbq-q-desc {
	font-size: 1.125rem;
	line-height: 1.625;
	font-weight: 300;
	color: var(--hbq-gray-500);
	margin: 0;
}

/* ── Option cards ── */
/* grid grid-cols-1 gap-4 mb-12 */
.hbq-options {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-bottom: 3rem;
}

/* option-card — wireframe: borde gris, hover verde suave, selected terracotta */
.hbq-option {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.375rem;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	color: #111827;
	width: 100%;
	transition: all 0.3s var(--hbq-ease);
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
}
/* Hover: verde muy suave, no azul */
.hbq-option:hover {
	border-color: rgba(100, 119, 96, 0.35);
	background: rgba(100, 119, 96, 0.04);
}
.hbq-option:active {
	background: rgba(100, 119, 96, 0.06);
}

/* Selected: terracotta, fondo muy sutil, check terracotta */
.hbq-option--selected,
.hbq-option--selected:hover,
.hbq-option--selected:active,
.hbq-option--selected:focus {
	border-color: #B96E49;
	background: rgba(185, 110, 73, 0.05);
	box-shadow: 0 4px 12px rgba(185, 110, 73, 0.1);
}

/* Option text — flex flex-col */
.hbq-option__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}
/* text-sm font-semibold text-gray-900 mb-0.5 */
.hbq-option__title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--hbq-gray-900);
	margin-bottom: 0.125rem;
	line-height: 1.35rem;
}
/* text-xs text-gray-400 */
.hbq-option__desc {
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--hbq-gray-400);
}

/* Icon wrapper — text-primary, 36x36, group-hover:text-secondary */
.hbq-option__icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 0.75rem;
	color: var(--hbq-green);
	transition: color 0.3s var(--hbq-ease);
}
.hbq-option:hover .hbq-option__icon {
	color: var(--hbq-terra);
}
.hbq-option--selected .hbq-option__icon {
	color: var(--hbq-terra);
}
.hbq-option__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Checkmark — absolute -top-2 -right-2 bg-secondary text-white rounded-full p-1
   opacity-0 scale-0 transition-all duration-300 */
.hbq-option__check {
	position: absolute;
	top: -0.5rem;
	right: -0.5rem;
	width: 24px;
	height: 24px;
	background: var(--hbq-terra);
	color: #fff;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem;
	opacity: 0;
	transform: scale(0);
	transition: all 0.3s var(--hbq-ease);
	pointer-events: none;
}
.hbq-option--selected .hbq-option__check {
	opacity: 1;
	transform: scale(1);
}

/* ── Navigation ──
   mt-auto flex items-center justify-between gap-6 */
.hbq-nav {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}
@media (max-width: 767px) {
	.hbq-nav {
		margin-top: 1rem;
	}
}

/* Anterior — text-sm font-medium text-gray-400 tracking-wide underline underline-offset-8 decoration-gray-200 */
.hbq-app .hbq-nav__prev {
	background: none !important;
	background-color: transparent !important;
	border: none;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 500;
	color: var(--hbq-gray-400);
	cursor: pointer;
	letter-spacing: 0.025em;
	text-decoration: underline;
	text-underline-offset: 8px;
	text-decoration-color: var(--hbq-gray-200);
	padding: 0.5rem 0;
	transition: color 0.15s ease;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	white-space: nowrap;
}
.hbq-app .hbq-nav__prev:hover,
.hbq-app .hbq-nav__prev:focus {
	color: var(--hbq-green) !important;
	background: transparent !important;
	background-color: transparent !important;
}

.hbq-nav__spacer {
	display: block;
}

/* Continuar — verde, hover verde oscuro. Sin azul del tema. */
.hbq-app .hbq-next-btn {
	flex: 1;
	display: block;
	padding: 1.125rem 2rem;
	background: var(--hbq-green) !important;
	background-color: var(--hbq-green) !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.025em;
	border: none;
	border-radius: 8px;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
	cursor: pointer;
	transition: background-color 0.15s ease;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	text-align: center;
	line-height: 1.5;
}
.hbq-app .hbq-next-btn:hover:not([disabled]),
.hbq-app .hbq-next-btn:focus:not([disabled]) {
	background: var(--hbq-green-hover) !important;
	background-color: var(--hbq-green-hover) !important;
	color: #fff !important;
}
.hbq-app .hbq-next-btn:active:not([disabled]) {
	transform: scale(0.98);
}
.hbq-app .hbq-next-btn[disabled] {
	opacity: 0.35;
	cursor: default;
	transform: none;
}

/* ═══════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════ */
.hbq-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 6rem 2rem;
	text-align: center;
}
.hbq-spinner {
	width: 32px;
	height: 32px;
	border: 2px solid var(--hbq-gray-200);
	border-top-color: var(--hbq-green);
	border-radius: 50%;
	animation: hbqSpin 0.7s linear infinite;
	margin-bottom: 1.5rem;
}
@keyframes hbqSpin {
	to { transform: rotate(360deg); }
}
.hbq-loading__text {
	font-size: 0.875rem;
	font-weight: 300;
	color: var(--hbq-gray-500);
	margin: 0;
}

/* ═══════════════════════════════════════
   RESULTS SCREEN
   (replica resultados.html)
   ═══════════════════════════════════════ */

/* Title section — px-6 py-8 text-center */
.hbq-results__header {
	padding: 2rem 1.5rem;
	text-align: center;
}

/* Title — font-serif text-4xl text-slate-800 leading-tight */
.hbq-results__title {
	font-family: var(--hbq-font-serif);
	font-size: 2.5rem;
	line-height: 1.25;
	color: var(--hbq-slate-800);
	margin: 0;
	font-weight: 400;
}
@media (min-width: 1024px) {
	.hbq-results__header {
		padding: 3rem 2rem 2rem;
	}
	.hbq-results__title {
		font-size: 3rem;
	}
	.hbq-results__text {
		font-size: 1.125rem;
		padding: 0 2rem;
	}
	.hbq-results {
		padding: 0 2rem 4rem;
	}
	.hbq-results-help-banner {
		margin: 0 2rem 2.5rem;
		padding: 1.9rem 2rem;
		min-height: 190px;
		gap: 1rem;
	}
	.hbq-results-help-banner__icon {
		width: 3.5rem;
		height: 3.5rem;
		font-size: 1.75rem;
	}
	.hbq-results-help-banner__text {
		font-size: 1.125rem;
	}
	.hbq-result-card__title {
		font-size: 1.875rem;
		line-height: 2.25rem;
	}
	.hbq-result-card__desc {
		font-size: 1.125rem;
	}
	.hbq-result-card__match {
		font-size: 1rem;
	}
	.hbq-result-card__cta {
		font-size: 0.9375rem;
	}
	.hbq-result-card + .hbq-result-card {
		margin-top: 3rem;
	}
	.hbq-no-results__title {
		font-size: 2rem;
	}
	.hbq-no-results__text {
		font-size: 1.125rem;
	}
	.hbq-no-results__cta {
		font-size: 1.0625rem;
		padding: 1.125rem 2rem;
	}
}

/* Divider — h-px w-12 bg-accent mx-auto mt-4 opacity-60 */
.hbq-results__header .hbq-divider {
	width: 3rem;
	margin-top: 1rem;
	margin-bottom: 0;
	background: var(--hbq-terra);
	opacity: 0.6;
}

.hbq-results__text {
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.625;
	color: var(--hbq-slate-600);
	text-align: center;
	padding: 0 1.5rem;
	margin-bottom: 0.5rem;
}
.hbq-results__text p {
	margin: 0 0 0.5rem;
}

/* Cards list — flex-1 px-6 space-y-10 pb-12 */
.hbq-results {
	padding: 0 1.5rem 3rem;
}

.hbq-results-help-banner {
	margin: 0 1.5rem 2rem;
	padding: 1.6rem 1.25rem;
	min-height: 170px;
	border-radius: 0.75rem;
	background: #2f4a36;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.9rem;
	text-align: center;
}
.hbq-results-help-banner__icon {
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 9999px;
	background: #ffffff;
	color: #2f4a36;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.6rem;
	line-height: 1;
	flex-shrink: 0;
}
.hbq-results-help-banner__text {
	margin: 0;
	font-size: 1.06rem;
	line-height: 1.45;
	font-weight: 500;
	max-width: 24rem;
}

/* Card — flex flex-col gap-4 group */
.hbq-result-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}
.hbq-result-card + .hbq-result-card {
	margin-top: 2.5rem;
}

/* Skeleton de resultados durante carga */
.hbq-result-card--skeleton {
	pointer-events: none;
}
.hbq-result-card--skeleton .hbq-result-card__image-wrap,
.hbq-result-card--skeleton .hbq-skel-line,
.hbq-result-card--skeleton .hbq-skel-pill {
	background: linear-gradient(
		90deg,
		#eceff3 20%,
		#f7f8fa 38%,
		#eceff3 56%
	);
	background-size: 200% 100%;
	animation: hbqSkeletonShimmer 1.1s linear infinite;
}
.hbq-result-card--skeleton .hbq-result-card__image-wrap {
	box-shadow: none;
}
.hbq-skel-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
}
.hbq-skel-line {
	display: block;
	height: 0.875rem;
	border-radius: 9999px;
}
.hbq-skel-line--title {
	height: 1.5rem;
	width: 62%;
}
.hbq-skel-line--desc-1 {
	width: 100%;
}
.hbq-skel-line--desc-2 {
	width: 86%;
}
.hbq-skel-line--desc-3 {
	width: 74%;
}
.hbq-skel-pill {
	display: inline-block;
	height: 0.875rem;
	width: 4.5rem;
	border-radius: 9999px;
}

@keyframes hbqSkeletonShimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* Card image — relative aspect-[4/5] overflow-hidden rounded-xl shadow-sm */
.hbq-result-card__image-wrap {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 0.75rem;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
	background: var(--hbq-gray-100);
}
/* background-image approach for hover zoom, but we use <img> in plugin */
.hbq-result-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.7s var(--hbq-ease);
}
.hbq-result-card:hover .hbq-result-card__image {
	transform: scale(1.05);
}

/* Badge — absolute top-4 left-4, bg-white/90 backdrop-blur-md px-3 py-1
   text-[10px] font-bold uppercase tracking-widest text-primary rounded-full */
.hbq-result-card__badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	padding: 0.25rem 0.75rem;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--hbq-green);
	border-radius: 9999px;
	line-height: 1.4;
}

/* Card info — space-y-2 */
.hbq-result-card__body {
	display: flex;
	flex-direction: column;
}
.hbq-result-card__body > * + * {
	margin-top: 0.5rem;
}

/* Header row — flex justify-between items-baseline */
.hbq-result-card__header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5rem;
}

/* Title — font-serif text-2xl text-slate-800 */
.hbq-result-card__title {
	font-family: var(--hbq-font-serif);
	font-size: 1.625rem;
	line-height: 2rem;
	color: var(--hbq-slate-800);
	margin: 0;
	font-weight: 400;
}

/* Match — text-accent font-medium text-sm tracking-tight italic */
.hbq-result-card__match {
	font-size: 0.875rem;
	font-weight: 500;
	font-style: italic;
	color: var(--hbq-terra);
	letter-spacing: -0.025em;
	white-space: nowrap;
	line-height: 1.25rem;
}

/* Description — text-slate-600 text-sm leading-relaxed font-light */
.hbq-result-card__desc {
	font-size: 1rem;
	line-height: 1.625;
	font-weight: 300;
	color: var(--hbq-slate-600);
	margin: 0;
}

/* CTA link */
.hbq-result-card__cta {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--hbq-green);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: rgba(100, 119, 96, 0.3);
	transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.hbq-result-card__cta:hover {
	text-decoration-color: var(--hbq-green);
}

/* No results — pantalla limpia, solo mensaje + un CTA */
.hbq-no-results {
	text-align: center;
	padding: 4rem 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 40vh;
	gap: 1rem;
}
.hbq-no-results__title {
	font-family: var(--hbq-font-serif);
	font-size: 1.75rem;
	line-height: 1.35;
	color: var(--hbq-slate-800);
	margin: 0;
	font-weight: 400;
}
.hbq-no-results__text {
	font-size: 1.0625rem;
	font-weight: 300;
	line-height: 1.6;
	color: var(--hbq-slate-600);
	margin: 0;
	max-width: 20rem;
}
.hbq-no-results__cta {
	display: inline-block;
	margin-top: 0.75rem;
	padding: 1rem 1.75rem;
	font-size: 1rem;
	background: var(--hbq-green) !important;
	background-color: var(--hbq-green) !important;
	color: #fff !important;
	font-family: inherit;
	font-weight: 500;
	letter-spacing: 0.025em;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.15s ease;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}
.hbq-no-results__cta:hover {
	background: var(--hbq-green-hover) !important;
	background-color: var(--hbq-green-hover) !important;
	color: #fff !important;
}

/* Results footer — p-8 text-center border-t border-slate-200 */
.hbq-results__footer {
	padding: 2rem;
	text-align: center;
	border-top: 1px solid var(--hbq-slate-200);
}

/* Restart — verde en hover, sin azul del tema */
.hbq-app .hbq-restart-btn {
	background: none !important;
	background-color: transparent !important;
	border: none;
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--hbq-slate-400);
	cursor: pointer;
	padding: 0.5rem 1rem;
	transition: color 0.3s ease;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	line-height: 1rem;
}
.hbq-app .hbq-restart-btn:hover,
.hbq-app .hbq-restart-btn:focus {
	color: var(--hbq-green) !important;
	background: transparent !important;
	background-color: transparent !important;
}

.hbq-results__cta-link {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--hbq-terra);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: rgba(185, 110, 73, 0.3);
	transition: text-decoration-color 0.2s ease;
}
.hbq-results__cta-link:hover {
	text-decoration-color: var(--hbq-terra);
}

/* ═══════════════════════════════════════
   RESULT CARD STAGGER ANIMATION
   ═══════════════════════════════════════ */
.hbq-result-card {
	opacity: 0;
	transform: translateY(16px);
	animation: hbqCardIn 0.4s var(--hbq-ease) forwards;
}
.hbq-result-card:nth-child(1) { animation-delay: 0.05s; }
.hbq-result-card:nth-child(2) { animation-delay: 0.15s; }
.hbq-result-card:nth-child(3) { animation-delay: 0.25s; }
.hbq-result-card:nth-child(4) { animation-delay: 0.35s; }
.hbq-result-card:nth-child(5) { animation-delay: 0.45s; }

@keyframes hbqCardIn {
	to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   SMALL SCREENS
   ═══════════════════════════════════════ */
@media (max-width: 380px) {
	.hbq-hero-img,
	.hbq-hero-placeholder {
		height: 300px;
	}
	.hbq-intro-title {
		font-size: 2rem;
	}
	.hbq-q-body {
		padding: 2rem 1.5rem;
	}
	.hbq-q-title {
		font-size: 1.75rem;
	}
}

/* ═══════════════════════════════════════
   PREFERS REDUCED MOTION
   ═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
	.hbq-screen--slide-left,
	.hbq-screen--slide-right,
	.hbq-screen--fade,
	.hbq-result-card {
		animation-duration: 0.01ms !important;
	}
	.hbq-option,
	.hbq-option__check,
	.hbq-option__icon,
	.hbq-progress__bar,
	.hbq-result-card__image {
		transition-duration: 0.01ms !important;
	}
}
