/* Tecma Equivalencias — usa la tipografía del tema (Avada) y los colores de Ajustes */
.tecma-eq {
	--tecma-eq-primary: #0B2340;
	--tecma-eq-accent: #2F80ED;
	--tecma-eq-on-accent: #fff;
	--tecma-eq-ink: #0E1B2C;
	--tecma-eq-muted: #4A5A6E;
	--tecma-eq-line: #E1E6ED;
	--tecma-eq-bg: #F3F5F8;
	font-family: inherit;
	color: var(--tecma-eq-ink);
	background: var(--tecma-eq-bg);
	scroll-margin-top: 120px;
	container-type: inline-size;
}
.tecma-eq *, .tecma-eq *::before, .tecma-eq *::after { box-sizing: border-box; }
.tecma-eq [hidden] { display: none !important; }
.tecma-eq__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Banda superior */
.tecma-eq__hero { background: var(--tecma-eq-primary); color: #fff; padding: 64px 0 56px; }
.tecma-eq__head { max-width: 760px; margin-bottom: 28px; }
.tecma-eq__eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--tecma-eq-accent) 55%, #fff); }
.tecma-eq .tecma-eq__title { margin: 0 0 12px; color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
.tecma-eq__lead { margin: 0; font-size: 18px; line-height: 1.55; color: #C3CEDD; }

/* Formulario de búsqueda */
.tecma-eq__form { display: flex; flex-wrap: wrap; gap: 10px; background: #fff; padding: 10px; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.tecma-eq__field { display: flex; flex-direction: column; justify-content: center; padding: 4px 14px; margin: 0; }
.tecma-eq__field--brand { flex: 0 1 230px; min-width: 180px; border-right: 1px solid var(--tecma-eq-line); }
.tecma-eq__refwrap { flex: 1 1 320px; min-width: 0; position: relative; display: flex; }
.tecma-eq__field--ref { flex: 1 1 auto; min-width: 0; }

/* Autocompletar */
.tecma-eq__ac { position: absolute; z-index: 50; top: calc(100% + 14px); left: 0; right: 0; max-height: 360px; overflow-y: auto;
	background: #fff; border: 1px solid var(--tecma-eq-line); border-radius: 10px; box-shadow: 0 16px 40px rgba(11,35,64,.22); padding: 6px; }
.tecma-eq__ac-more { padding: 8px 12px 4px; font-size: 13px; color: var(--tecma-eq-muted); }
.tecma-eq .tecma-eq__sug {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; width: 100%; min-height: 44px; padding: 10px 12px;
	border: 0; border-radius: 7px; background: transparent; text-align: left; cursor: pointer;
	font-family: inherit; font-size: 15px; color: var(--tecma-eq-ink); line-height: 1.3;
}
.tecma-eq .tecma-eq__sug:hover, .tecma-eq .tecma-eq__sug[aria-selected="true"], .tecma-eq .tecma-eq__sug:focus-visible {
	background: color-mix(in srgb, var(--tecma-eq-accent) 10%, #fff); outline: none;
}
.tecma-eq__sug-ref { font-weight: 700; color: var(--tecma-eq-primary); }
.tecma-eq__sug-brand { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #5B6B7F; }
.tecma-eq__sug-to { margin-left: auto; font-size: 14px; color: var(--tecma-eq-muted); }

/* Panel «¿Es alguna de estas?» */
.tecma-eq__sugpanel { background: #fff; border: 1px solid var(--tecma-eq-line); border-radius: 12px; padding: 24px; box-shadow: 0 6px 22px rgba(11,35,64,.08); }
.tecma-eq__sugpanel-title { margin: 0 0 14px; font-size: 18px; font-weight: 700; color: var(--tecma-eq-primary); overflow-wrap: anywhere; }
.tecma-eq__suglist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin-bottom: 12px; }
.tecma-eq__suglist .tecma-eq__sug { border: 1px solid var(--tecma-eq-line); }
.tecma-eq .tecma-eq__linkbtn { margin-top: 6px; padding: 8px 0; min-height: 44px; border: 0; background: none; cursor: pointer;
	font-family: inherit; font-size: 15px; font-weight: 600; color: var(--tecma-eq-primary); text-decoration: underline; text-underline-offset: 3px; }
.tecma-eq__label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5B6B7F; }
.tecma-eq .tecma-eq__field select,
.tecma-eq .tecma-eq__field input {
	width: 100%; border: 0 !important; background: transparent !important; box-shadow: none !important;
	padding: 4px 0 !important; margin: 0; height: auto !important; min-height: 32px;
	font-family: inherit; font-size: 17px; font-weight: 500; color: var(--tecma-eq-ink);
}
.tecma-eq__field input::placeholder { color: #7A8799; font-weight: 400; }
.tecma-eq__form:focus-within { outline: 3px solid var(--tecma-eq-accent); outline-offset: 2px; }

.tecma-eq .tecma-eq__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border: 0; border-radius: 7px; cursor: pointer;
	background: var(--tecma-eq-accent); color: var(--tecma-eq-on-accent, #fff);
	font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none;
	transition: filter .15s ease;
}
.tecma-eq .tecma-eq__btn:hover { filter: brightness(1.08); color: var(--tecma-eq-on-accent, #fff); }
.tecma-eq .tecma-eq__btn:disabled { opacity: .6; cursor: default; }
.tecma-eq__form .tecma-eq__btn { flex: 0 0 auto; min-height: 56px; }

.tecma-eq__hint { margin: 16px 0 0; font-size: 14px; color: #C3CEDD; }
.tecma-eq__brands { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.tecma-eq__brands-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8FA2BB; margin-right: 6px; }
.tecma-eq__chip { font-size: 13px; font-weight: 600; color: #DCE4EE; background: rgba(255,255,255,.08); border-radius: 5px; padding: 6px 10px; }

/* Zona de resultados */
.tecma-eq__body { padding: 36px 0 64px; }
.tecma-eq__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tecma-eq__step { background: #fff; border: 1px solid var(--tecma-eq-line); border-radius: 10px; padding: 24px; }
.tecma-eq__step-n { font-size: 28px; font-weight: 800; color: var(--tecma-eq-accent); margin-bottom: 6px; }
.tecma-eq .tecma-eq__step h3 { margin: 0 0 6px; font-size: 18px; color: var(--tecma-eq-ink); }
.tecma-eq__step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--tecma-eq-muted); }

.tecma-eq__out { display: flex; flex-direction: column; gap: 20px; }
.tecma-eq__out:empty { display: none; }
.tecma-eq__loading, .tecma-eq__note, .tecma-eq__error { margin: 0; font-size: 15px; color: var(--tecma-eq-muted); }
.tecma-eq__error { color: #A3241B; }

.tecma-eq__card { background: #fff; border: 1px solid var(--tecma-eq-line); border-radius: 12px; overflow: hidden; box-shadow: 0 6px 22px rgba(11,35,64,.08); }
.tecma-eq__ok { display: flex; align-items: center; gap: 12px; padding: 14px 24px; background: color-mix(in srgb, var(--tecma-eq-accent) 10%, #fff); border-bottom: 1px solid color-mix(in srgb, var(--tecma-eq-accent) 25%, #fff); font-size: 15px; color: var(--tecma-eq-primary); }
.tecma-eq__ok svg { flex: 0 0 auto; }
.tecma-eq__card-body { display: flex; flex-wrap: wrap; gap: 32px; padding: 28px 24px; }
.tecma-eq__img { flex: 0 1 280px; min-width: 220px; width: 280px; height: 240px; object-fit: contain; padding: 14px; background: #fff; border: 1px solid color-mix(in srgb, var(--tecma-eq-accent) 12%, #E6EAF0); border-radius: 10px; align-self: flex-start; }
.tecma-eq__info { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tecma-eq__kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5B6B7F; }
.tecma-eq__ref { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--tecma-eq-primary); line-height: 1.1; margin-top: -8px; }
.tecma-eq__meta { font-size: 16px; color: var(--tecma-eq-muted); margin-top: -6px; }
.tecma-eq__others { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--tecma-eq-muted); }
.tecma-eq__others-label { font-weight: 600; color: var(--tecma-eq-ink); }
.tecma-eq__other { background: var(--tecma-eq-bg); border: 1px solid var(--tecma-eq-line); border-radius: 5px; padding: 5px 9px; }
.tecma-eq__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.tecma-eq .tecma-eq__btn--dark { background: var(--tecma-eq-primary); color: #fff; min-height: 48px; font-size: 15px; }
.tecma-eq .tecma-eq__btn--dark:hover { color: #fff; }
.tecma-eq .tecma-eq__btn--ghost { background: transparent; border: 2px solid var(--tecma-eq-primary); color: var(--tecma-eq-primary); min-height: 48px; font-size: 15px; }
.tecma-eq a.tecma-eq__btn--ghost:hover, .tecma-eq a.tecma-eq__btn--ghost:focus { background: var(--tecma-eq-primary); color: #fff; filter: none; }
.tecma-eq a.tecma-eq__btn--dark:hover, .tecma-eq a.tecma-eq__btn--dark:focus { color: #fff; filter: brightness(1.25); }

/* No encontrado */
.tecma-eq__notfound { display: flex; flex-wrap: wrap; gap: 32px; background: #fff; border: 1px solid var(--tecma-eq-line); border-radius: 12px; padding: 32px 28px; box-shadow: 0 6px 22px rgba(11,35,64,.08); }
.tecma-eq__nf-text { flex: 1 1 320px; min-width: 0; }
.tecma-eq .tecma-eq__nf-title { margin: 0 0 12px; font-size: 24px; color: var(--tecma-eq-primary); line-height: 1.25; overflow-wrap: anywhere; }
.tecma-eq__nf-text p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--tecma-eq-muted); }
.tecma-eq__nf-form { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.tecma-eq__nf-form label { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: #3A4A5E; }
.tecma-eq__nf-form input[type="text"], .tecma-eq__nf-form input[type="email"], .tecma-eq__nf-form textarea {
	width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #C4CDD8; border-radius: 6px;
	font-family: inherit; font-size: 16px; font-weight: 400; color: var(--tecma-eq-ink); background: #fff;
}
.tecma-eq__nf-full { grid-column: 1 / -1; }
.tecma-eq .tecma-eq__nf-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--tecma-eq-muted); line-height: 1.45; }
.tecma-eq__nf-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 auto; }
.tecma-eq__nf-msg { margin: 0; font-size: 14px; color: var(--tecma-eq-muted); min-height: 1em; }
.tecma-eq__nf-msg:empty { display: none; }
.tecma-eq__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@container (max-width: 760px) {
	.tecma-eq__hero { padding: 40px 0 32px; }
	.tecma-eq__inner { padding: 0 16px; }
	.tecma-eq__form { flex-direction: column; }
	.tecma-eq__field--brand { border-right: 0; border-bottom: 1px solid var(--tecma-eq-line); flex-basis: auto; }
	.tecma-eq__refwrap { flex-basis: auto; }
	.tecma-eq__suglist { grid-template-columns: minmax(0, 1fr); }
	.tecma-eq__refwrap { flex-direction: column; }
	.tecma-eq__ac { position: static; margin: 4px 8px 4px; max-height: 300px; box-shadow: none; }
	.tecma-eq__form .tecma-eq__btn { width: 100%; }
	.tecma-eq__steps { grid-template-columns: minmax(0, 1fr); }
	.tecma-eq__card-body { padding: 18px 16px; gap: 18px; }
	.tecma-eq__img { width: 100%; flex-basis: 100%; height: 220px; }
	.tecma-eq__actions .tecma-eq__btn { width: 100%; }
	.tecma-eq__nf-form { grid-template-columns: minmax(0, 1fr); }
	.tecma-eq__notfound { padding: 22px 16px; }
}
.tecma-eq .tecma-eq__field select:focus, .tecma-eq .tecma-eq__field input:focus { outline: none; }
