/**
 * Tarificador Vida Barón · Frontend
 * v0.1.1
 *
 * El plugin es responsable de su propia interfaz. El theme solo aporta el
 * contexto exterior de la landing/página de resultados.
 */

.tvida-wrapper {
	--tvida-primary: var(--tvida-theme-primary, #0b45b5);
	--tvida-primary-dark: #073675;
	--tvida-primary-soft: #eef5ff;
	--tvida-accent: var(--tvida-theme-price, #a33198);
	--tvida-text: #172033;
	--tvida-muted: #687487;
	--tvida-border: #d7e0eb;
	--tvida-border-strong: #c5d3e4;
	--tvida-surface: #ffffff;
	--tvida-soft: #f7f9fc;
	--tvida-success: #16844f;
	--tvida-success-soft: #effaf5;
	--tvida-danger: #a42020;
	--tvida-danger-soft: #fff4f4;
	--tvida-radius: 16px;
	--tvida-radius-small: 10px;
	--tvida-shadow: 0 14px 34px rgba(18, 49, 83, 0.08);
	--tvida-shadow-soft: 0 8px 22px rgba(18, 49, 83, 0.06);
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
	color: var(--tvida-text);
}

.tvida-wrapper,
.tvida-wrapper *,
.tvida-wrapper *::before,
.tvida-wrapper *::after { box-sizing: border-box; }

.tvida-wrapper button,
.tvida-wrapper input { font: inherit; }

.tvida-wrapper button { cursor: pointer; }

.tvida-hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.tvida-notice {
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid var(--tvida-border);
	border-radius: var(--tvida-radius-small);
	background: #fff;
	font-size: 0.94rem;
	line-height: 1.45;
}
.tvida-notice p:last-child,
.tvida-notice ul:last-child { margin-bottom: 0; }
.tvida-notice--error { border-color: #e2a6a6; background: var(--tvida-danger-soft); color: var(--tvida-danger); }
.tvida-notice--success { border-color: #a9dac2; background: var(--tvida-success-soft); color: #0f6e40; }

/* ========================================================================== */
/* FORMULARIO                                                                 */
/* ========================================================================== */

.tvida-quote-wrapper {
	max-width: 980px;
	text-align: left;
}

.tvida-form { width: 100%; }

/* El wrapper sigue siendo relativo para el estado "procesando", pero deja de
 * dibujar una segunda caja dentro de la landing. */
.tvida-quote-card {
	position: relative;
	width: 100%;
	padding: clamp(8px, 1.2vw, 16px) 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

.tvida-form-progress,
.tvida-step-kicker { display: none !important; }

.tvida-form-step {
	display: none;
	width: 100%;
	max-width: 860px;
	margin-inline: auto;
	animation: tvidaFadeIn .18s ease;
}
.tvida-form-step.is-active { display: block; }

@keyframes tvidaFadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: none; }
}

.tvida-step-head {
	max-width: 680px;
	margin: 0 auto 24px;
	text-align: center;
}
.tvida-step-head--compact { margin-bottom: 20px; }
.tvida-step-head h2 {
	margin: 0;
	color: var(--tvida-primary-dark);
	font-size: clamp(1.35rem, 2vw, 1.65rem);
	font-weight: 720;
	line-height: 1.1;
	letter-spacing: -0.025em;
}
.tvida-step-head p {
	margin: 7px auto 0;
	color: var(--tvida-muted);
	font-size: .92rem;
	line-height: 1.45;
}

.tvida-capital-block {
	display: grid;
	gap: 10px;
	justify-items: center;
	width: 100%;
	margin: 0 auto 22px;
}
.tvida-capital-block > label,
.tvida-field--centered > label {
	color: var(--tvida-primary-dark);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .055em;
	text-transform: uppercase;
}

.tvida-capital-control {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 48px;
	align-items: center;
	gap: 12px;
	width: min(100%, 720px);
}

.tvida-capital-button {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--tvida-border-strong);
	border-radius: 50%;
	background: #fff;
	color: var(--tvida-primary);
	box-shadow: none;
	font-size: 1.55rem;
	font-weight: 800;
	line-height: 1;
	transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.tvida-capital-button:hover,
.tvida-capital-button:focus-visible {
	border-color: var(--tvida-primary);
	background: var(--tvida-primary);
	color: #fff;
	outline: 0;
	transform: translateY(-1px);
}

.tvida-capital-input-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 8px 16px;
	border: 1px solid var(--tvida-border-strong);
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
}
.tvida-capital-input-wrap input {
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--tvida-text) !important;
	font-size: clamp(2.35rem, 6vw, 4rem) !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: -.045em;
	text-align: center;
}
.tvida-capital-input-wrap span {
	color: var(--tvida-accent);
	font-size: clamp(1.7rem, 4vw, 2.5rem);
	font-weight: 750;
	line-height: 1;
}
.tvida-capital-input-wrap:focus-within {
	border-color: var(--tvida-primary);
	box-shadow: 0 0 0 3px rgba(11, 69, 181, .08);
}

.tvida-step-one-bottom {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 14px;
	width: min(100%, 650px);
	margin-inline: auto;
}

.tvida-field { display: grid; gap: 7px; min-width: 0; }
.tvida-field--centered { width: 100%; }

.tvida-field input[type="text"],
.tvida-field input[type="email"],
.tvida-field input[type="tel"],
.tvida-field input[type="date"],
.tvida-field input[type="number"],
.tvida-field input[type="url"] {
	width: 100%;
	max-width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid var(--tvida-border-strong);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
	color: var(--tvida-text);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
}
.tvida-field--centered input { text-align: center; }
.tvida-field input::placeholder { color: #7d8795; opacity: 1; font-weight: 500; }
.tvida-field input:focus {
	border-color: var(--tvida-primary);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(11, 69, 181, .08);
}

.tvida-contact-fields {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	margin: 0 auto 18px;
}
.tvida-field--placeholder-only { gap: 0; }
.tvida-field--placeholder-only input { min-height: 56px; text-align: left; }

.tvida-consents {
	display: grid;
	gap: 9px;
	width: 100%;
	margin: 0 auto;
	padding-top: 2px;
	color: #465366;
	font-size: .86rem;
	line-height: 1.42;
}
.tvida-field--checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-weight: 450;
}
.tvida-field--checkbox input {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin: 2px 0 0;
	accent-color: var(--tvida-primary);
}
.tvida-consents a { color: var(--tvida-primary-dark); font-weight: 700; }

.tvida-step-error {
	display: none;
	width: 100%;
	margin: 14px auto 0;
	padding: 10px 12px;
	border: 1px solid #e3abab;
	border-radius: 9px;
	background: var(--tvida-danger-soft);
	color: var(--tvida-danger);
	font-size: .9rem;
	font-weight: 650;
	line-height: 1.4;
	text-align: center;
}
.tvida-step-error.is-visible { display: block; }

.tvida-actions { margin: 0; }
.tvida-actions--centered {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}
.tvida-step-one-bottom .tvida-actions { align-self: end; }

.tvida-button,
.tvida-back-button,
.tvida-choice-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.tvida-button {
	min-width: 180px;
	min-height: 52px;
	padding: 13px 22px;
	border: 0;
	background: var(--tvida-primary);
	color: #fff;
	font-size: 1rem;
	box-shadow: none;
}
.tvida-button:hover,
.tvida-button:focus-visible {
	background: var(--tvida-primary-dark);
	color: #fff;
	outline: 0;
	transform: translateY(-1px);
}

.tvida-actions--step-two {
	display: grid;
	grid-template-columns: 1fr;
	gap: 9px;
	width: min(100%, 520px);
	margin: 22px auto 0;
}
.tvida-button--large,
.tvida-button--accent {
	width: 100%;
	min-height: 60px;
	padding: 15px 24px;
	background: var(--tvida-primary-dark);
	color: #fff;
	font-size: 1.14rem;
	box-shadow: 0 10px 24px rgba(7, 54, 117, .13);
}
.tvida-button--large:hover,
.tvida-button--large:focus-visible,
.tvida-button--accent:hover,
.tvida-button--accent:focus-visible {
	background: var(--tvida-primary);
	box-shadow: 0 12px 26px rgba(11, 69, 181, .16);
}

.tvida-back-button {
	justify-self: center;
	min-height: 34px;
	padding: 5px 8px;
	border: 0;
	background: transparent;
	color: var(--tvida-primary-dark);
	font-size: .86rem;
	font-weight: 700;
	box-shadow: none;
}
.tvida-back-button:hover,
.tvida-back-button:focus-visible {
	background: var(--tvida-primary-soft);
	color: var(--tvida-primary);
	outline: 0;
}

.tvida-processing-state {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 28px;
	border-radius: 14px;
	background: rgba(255,255,255,.96);
	z-index: 10;
	text-align: center;
}
.tvida-quote-card.is-processing .tvida-processing-state { display: flex; }
.tvida-quote-card.is-processing .tvida-form-step { opacity: 0; pointer-events: none; user-select: none; }
.tvida-processing-state__inner { display: grid; gap: 10px; justify-items: center; max-width: 420px; }
.tvida-processing-state__dots { display: inline-flex; gap: 7px; }
.tvida-processing-state__dots span {
	width: 10px; height: 10px; border-radius: 50%; background: var(--tvida-primary); animation: tvidaPulseDot 1.1s infinite ease-in-out;
}
.tvida-processing-state__dots span:nth-child(2) { animation-delay: .14s; }
.tvida-processing-state__dots span:nth-child(3) { animation-delay: .28s; }
@keyframes tvidaPulseDot { 0%,80%,100% { transform: scale(.7); opacity: .35; } 40% { transform: scale(1); opacity: 1; } }
.tvida-processing-state__title { margin: 0; color: var(--tvida-primary-dark); font-size: 1.25rem; font-weight: 800; }
.tvida-processing-state__text { margin: 0; color: var(--tvida-muted); font-size: .94rem; }

/* ========================================================================== */
/* RESULTADOS                                                                  */
/* ========================================================================== */

.tvida-result-wrapper { max-width: 1180px; }

.tvida-result-intro { margin: 0 0 20px; }
.tvida-result-intro h2 {
	margin: 0 0 8px;
	color: var(--tvida-primary-dark);
	font-size: clamp(1.8rem, 3vw, 2.55rem);
	font-weight: 750;
	line-height: 1.12;
	letter-spacing: -.025em;
}
.tvida-result-intro p {
	max-width: 850px;
	margin: 0;
	color: var(--tvida-muted);
	font-size: 1rem;
	line-height: 1.6;
}

.tvida-result-summary--compact {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 28px;
	padding: 0;
	border: 0;
}
.tvida-result-summary--compact p {
	display: grid;
	gap: 3px;
	min-width: 170px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid var(--tvida-border);
	border-radius: 10px;
	background: #fff;
}
.tvida-result-summary--compact span { color: var(--tvida-muted); font-size: .72rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
.tvida-result-summary--compact strong { color: var(--tvida-text); font-size: 1rem; line-height: 1.2; }

.tvida-company-card-list { display: grid; gap: 20px; margin-top: 18px; }

.tvida-company-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(180px,.8fr) minmax(220px,.85fr) minmax(290px,1.05fr);
	align-items: center;
	gap: clamp(20px, 3vw, 38px);
	width: 100%;
	min-width: 0;
	padding: 28px;
	border: 1px solid var(--tvida-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--tvida-shadow-soft);
}
.tvida-company-card--best,
.tvida-company-card--recommended { border-color: #a7dfc4; }
.tvida-company-card--selected,
.tvida-company-card--selected-primary { border-color: #70bc94; box-shadow: 0 14px 30px rgba(22,132,79,.10); }

.tvida-company-card__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 96px;
}
.tvida-company-card__logo { display: grid; place-items: center; width: min(100%, 220px); height: 82px; }
.tvida-company-card__logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; float: none !important; border-radius: 0 !important; }
.tvida-company-card__logo span { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 14px; background: var(--tvida-primary-soft); color: var(--tvida-primary-dark); font-size: 1.8rem; font-weight: 800; }
.tvida-company-card__title { display: none; }

.tvida-card-badge {
	position: absolute;
	top: -12px;
	left: 18px;
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 10px;
	border: 1px solid #a8dfc4;
	border-radius: 999px;
	background: var(--tvida-success-soft);
	color: #08713d;
	font-size: .72rem;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	z-index: 2;
}
.tvida-card-badge--best { background: #fff8e8; border-color: #ead39a; color: #7f5a00; }
.tvida-card-badge--best + .tvida-card-badge--recommended { left: auto; right: 18px; }

.tvida-company-card__price-block { min-width: 0; text-align: center; }
.tvida-price-prefix { display: block; margin-bottom: 6px; color: var(--tvida-muted); font-size: .88rem; font-weight: 550; }
.tvida-price-main {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 2px;
	max-width: 100%;
	margin: 0;
	color: var(--tvida-accent);
	font-size: clamp(2.8rem, 4.4vw, 4.2rem);
	font-weight: 780;
	line-height: .92;
	letter-spacing: -.05em;
	white-space: nowrap;
}
.tvida-price-main span { margin-bottom: .08em; font-size: .48em; font-weight: 700; letter-spacing: -.02em; }
.tvida-price-suffix { display: block; margin-top: 7px; color: var(--tvida-primary-dark); font-size: .9rem; font-weight: 800; }

.tvida-company-card__actions { display: grid; gap: 9px; align-content: center; min-width: 0; }

.tvida-choice-button {
	width: 100%;
	min-height: 48px;
	padding: 11px 15px;
	border: 0;
	background: var(--tvida-primary-dark);
	color: #fff;
	font-size: .9rem;
	box-shadow: none;
}
.tvida-choice-button:hover,
.tvida-choice-button:focus-visible { background: var(--tvida-primary); color: #fff; outline: 0; transform: translateY(-1px); }
.tvida-choice-button:disabled { cursor: default; opacity: .68; transform: none; }
.tvida-choice-button.is-loading { opacity: .78; }
.tvida-choice-button.is-sent { background: var(--tvida-primary-dark); opacity: 1; }

.tvida-coverage-details { width: 100%; min-width: 0; }
.tvida-coverage-details > summary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	max-width: 100%;
	min-height: 34px;
	margin-inline: auto;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--tvida-primary-soft);
	color: var(--tvida-primary-dark);
	cursor: pointer;
	font-size: .8rem;
	font-weight: 750;
	line-height: 1.2;
	list-style-position: inside;
	text-align: center;
}
.tvida-coverage-details > summary:hover,
.tvida-coverage-details > summary:focus-visible { background: var(--tvida-primary); color: #fff; outline: 0; }
.tvida-result-wrapper--selection-sent .tvida-coverage-details > summary { opacity: .76; }

.tvida-coverage-help {
	margin-top: 10px;
	padding: 10px 12px;
	border: 1px solid #d9e4f2;
	border-radius: 9px;
	background: #f8fbff;
	color: #445369;
	font-size: .78rem;
	line-height: 1.4;
}
.tvida-coverage-help__title { margin: 0 0 5px; color: var(--tvida-primary-dark); font-size: .82rem; font-weight: 800; text-align: center; }
.tvida-coverage-help__grid { display: grid; gap: 3px; }
.tvida-coverage-help__grid p { margin: 0; }
.tvida-coverage-help__grid strong { color: var(--tvida-primary-dark); }

.tvida-coverage-list { display: grid; gap: 8px; margin-top: 9px; }
.tvida-coverage-option {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 11px 12px;
	border: 1px solid var(--tvida-border);
	border-radius: 10px;
	background: var(--tvida-soft);
}
.tvida-coverage-option--selected { border-color: #9fd8bb; background: var(--tvida-success-soft); }
.tvida-coverage-option strong,
.tvida-coverage-option span { display: block; }
.tvida-coverage-option strong { color: var(--tvida-primary-dark); font-size: .83rem; line-height: 1.2; }
.tvida-coverage-option span { margin-top: 4px; color: var(--tvida-accent); font-size: 1.12rem; font-weight: 800; line-height: 1.05; white-space: nowrap; }

.tvida-choice-button--secondary {
	width: auto;
	min-width: 104px;
	min-height: 38px;
	padding: 8px 13px;
	border: 1px solid #b9cae2;
	background: #fff;
	color: var(--tvida-primary-dark);
	font-size: .8rem;
	box-shadow: none;
}
.tvida-choice-button--secondary:hover,
.tvida-choice-button--secondary:focus-visible { border-color: var(--tvida-primary); background: var(--tvida-primary); color: #fff; }

.tvida-company-card--selected-primary .tvida-price-main::after,
.tvida-coverage-option--selected span::after {
	content: "✓";
	display: inline-grid;
	place-items: center;
	margin-left: 7px;
	border-radius: 50%;
	background: rgba(22,132,79,.12);
	color: var(--tvida-success);
	font-weight: 900;
	vertical-align: middle;
}
.tvida-company-card--selected-primary .tvida-price-main::after { width: 34px; height: 34px; font-size: .34em; }
.tvida-coverage-option--selected span::after { width: 24px; height: 24px; font-size: .68rem; }

.tvida-selection-feedback {
	display: none;
	grid-column: 1 / -1;
	margin-top: 2px;
	padding: 11px 13px;
	border-radius: 9px;
	font-size: .88rem;
	font-weight: 750;
	line-height: 1.4;
	text-align: center;
}
.tvida-selection-feedback.is-visible { display: block; }
.tvida-selection-feedback.is-success { border: 1px solid #a7dec3; background: var(--tvida-success-soft); color: #08713d; }
.tvida-selection-feedback.is-error { border: 1px solid #e1aaaa; background: var(--tvida-danger-soft); color: var(--tvida-danger); }

.tvida-result-legal {
	margin-top: 22px;
	padding: 11px 13px;
	border-top: 1px solid var(--tvida-border);
	color: var(--tvida-muted);
	font-size: .82rem;
	line-height: 1.5;
}
.tvida-result-legal p,
.tvida-result-date { margin: 0; }
.tvida-result-date { margin-top: 7px; color: var(--tvida-muted); font-size: .78rem; }

.tvida-debug-box { grid-column: 1/-1; margin-top: 8px; padding: 10px; border: 1px dashed var(--tvida-border-strong); border-radius: 9px; font-size: .82rem; }
.tvida-debug-box summary { cursor: pointer; font-weight: 700; }
.tvida-debug-table { width: 100%; margin-top: 8px; border-collapse: collapse; }
.tvida-debug-table th,
.tvida-debug-table td { padding: 5px 7px; border-bottom: 1px solid var(--tvida-border); text-align: left; vertical-align: top; }
.tvida-debug-table th { width: 210px; }

@media (max-width: 900px) {
	.tvida-quote-wrapper { max-width: 760px; }
	.tvida-contact-fields { grid-template-columns: 1fr; }
	.tvida-company-card { grid-template-columns: 1fr 1fr; }
	.tvida-company-card__actions { grid-column: 1 / -1; width: min(100%, 520px); margin-inline: auto; }
	.tvida-company-card__brand { min-height: 80px; }
}

@media (max-width: 680px) {
	.tvida-wrapper { max-width: 100%; }
	.tvida-quote-card { padding: 4px 0; }
	.tvida-form-step { max-width: 100%; }
	.tvida-step-head { margin-bottom: 18px; padding-inline: 4px; }
	.tvida-step-head h2 { font-size: 1.65rem; }
	.tvida-step-head p { font-size: .92rem; }

	.tvida-capital-control { grid-template-columns: 42px minmax(0,1fr) 42px; gap: 7px; }
	.tvida-capital-button { width: 42px; height: 42px; font-size: 1.35rem; }
	.tvida-capital-input-wrap { padding: 8px 10px; }
	.tvida-capital-input-wrap input { font-size: clamp(2rem, 12vw, 3rem) !important; }
	.tvida-capital-input-wrap span { font-size: 1.65rem; }

	.tvida-step-one-bottom { grid-template-columns: 1fr; gap: 10px; }
	.tvida-field--centered input { min-height: 50px; }
	.tvida-step-one-bottom .tvida-button { width: 100%; }

	.tvida-contact-fields { gap: 9px; margin-bottom: 14px; }
	.tvida-field--placeholder-only input { min-height: 52px; }
	.tvida-consents { font-size: .8rem; }
	.tvida-actions--step-two { width: 100%; margin-top: 18px; }
	.tvida-button--large,
	.tvida-button--accent { min-height: 58px; font-size: 1.05rem; }

	.tvida-result-intro { text-align: center; }
	.tvida-result-intro h2 { font-size: 1.75rem; }
	.tvida-result-intro p { font-size: .92rem; }
	.tvida-result-summary--compact { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
	.tvida-result-summary--compact p { min-width: 0; padding: 9px 7px; text-align: center; }
	.tvida-result-summary--compact span { font-size: .58rem; }
	.tvida-result-summary--compact strong { font-size: .82rem; }

	.tvida-company-card { grid-template-columns: 1fr; gap: 16px; padding: 30px 14px 18px; border-radius: 14px; }
	.tvida-company-card__brand { min-height: 72px; }
	.tvida-company-card__logo { width: min(100%, 210px); height: 76px; }
	.tvida-company-card__actions { grid-column: auto; width: 100%; }
	.tvida-price-main { font-size: clamp(2.8rem, 14vw, 3.7rem); }
	.tvida-card-badge { top: -11px; left: 12px; font-size: .68rem; }
	.tvida-card-badge--best + .tvida-card-badge--recommended { left: 12px; right: auto; top: 21px; }

	.tvida-choice-button { min-height: 48px; font-size: .88rem; }
	.tvida-coverage-details > summary { min-height: 38px; padding: 8px 12px; font-size: .82rem; }
	.tvida-coverage-help { padding: 10px; font-size: .75rem; }
	.tvida-coverage-option { grid-template-columns: 1fr; gap: 9px; padding: 12px; text-align: center; }
	.tvida-coverage-option strong { font-size: .82rem; }
	.tvida-coverage-option span { font-size: 1.18rem; }
	.tvida-choice-button--secondary {
		width: min(100%, 210px);
		min-height: 44px;
		margin-inline: auto;
		padding: 10px 16px;
		border-color: #aebfda;
		background: var(--tvida-primary-soft);
		color: var(--tvida-primary-dark);
		font-size: .86rem;
		font-weight: 800;
	}
	.tvida-choice-button--secondary:hover,
	.tvida-choice-button--secondary:focus-visible { background: var(--tvida-primary); color: #fff; }

	.tvida-result-legal { margin-top: 16px; padding-inline: 2px; border: 0; color: #788497; font-size: .76rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.tvida-wrapper *,
	.tvida-wrapper *::before,
	.tvida-wrapper *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}


/* v0.1.2 — jerarquía de valor y ajustes finos del paso 1 */
.tvida-form-step[data-step="1"] .tvida-step-head {
	max-width: 520px;
	margin-bottom: 17px;
}
.tvida-date-mask {
	font-size: 1.14rem !important;
	font-weight: 650 !important;
	letter-spacing: .005em;
}

/* En coberturas ampliadas prima el capital protegido sobre el sobrecoste. */
.tvida-coverage-option strong {
	color: var(--tvida-primary-dark);
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.18;
}
.tvida-coverage-option span {
	margin-top: 5px;
	color: var(--tvida-accent);
	font-size: .92rem;
	font-weight: 750;
	line-height: 1.05;
}

@media (max-width: 700px) {
	.tvida-form-step[data-step="1"] .tvida-step-head h2 { font-size: 1.28rem; }
	.tvida-form-step[data-step="1"] .tvida-step-head p { font-size: .88rem; }
	.tvida-date-mask { font-size: 1.08rem !important; }
	.tvida-coverage-option strong { font-size: 1rem; }
	.tvida-coverage-option span { font-size: .9rem; }
}
