/* Formulario premium OhMyHack */
.omhdf-app {
	--omhdf-accent: #6d5dfc;
	--omhdf-ink: #17162a;
	--omhdf-muted: #6d6b7f;
	--omhdf-line: rgba(23, 22, 42, .11);
	--omhdf-surface: rgba(255, 255, 255, .94);
	--omhdf-danger: #c9324c;
	width: 100%;
	max-width: 860px;
	margin: 32px auto;
	color: var(--omhdf-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.55;
	box-sizing: border-box;
}

.omhdf-app *,
.omhdf-app *::before,
.omhdf-app *::after {
	box-sizing: border-box;
}

.omhdf-shell {
	position: relative;
	overflow: hidden;
	padding: clamp(24px, 5vw, 56px);
	border: 1px solid rgba(255, 255, 255, .72);
	border-radius: 30px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 247, 255, .92)),
		var(--omhdf-surface);
	box-shadow:
		0 34px 80px rgba(31, 27, 71, .14),
		0 8px 22px rgba(31, 27, 71, .06),
		inset 0 1px 0 rgba(255, 255, 255, .8);
	isolation: isolate;
}

.omhdf-glow {
	position: absolute;
	z-index: -1;
	top: -150px;
	right: -130px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--omhdf-accent) 18%, transparent);
	filter: blur(4px);
	pointer-events: none;
}

.omhdf-header {
	max-width: 680px;
	margin-bottom: 28px;
}

.omhdf-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: var(--omhdf-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
}

.omhdf-kicker::before {
	width: 26px;
	height: 2px;
	border-radius: 99px;
	background: currentColor;
	content: "";
}

.omhdf-header h2 {
	margin: 0;
	color: var(--omhdf-ink);
	font-size: clamp(30px, 5vw, 48px);
	font-weight: 780;
	letter-spacing: -.045em;
	line-height: 1.06;
}

.omhdf-intro {
	max-width: 620px;
	margin-top: 14px;
	color: var(--omhdf-muted);
	font-size: 17px;
}

.omhdf-intro p {
	margin: 0;
}

.omhdf-progress {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 30px 0 36px;
}

.omhdf-progress__bar {
	display: block;
	overflow: hidden;
	flex: 1;
	height: 7px;
	border-radius: 99px;
	background: #e8e6f0;
}

.omhdf-progress__bar span {
	display: block;
	width: 25%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--omhdf-accent), color-mix(in srgb, var(--omhdf-accent) 60%, #ff7ab6));
	box-shadow: 0 0 18px color-mix(in srgb, var(--omhdf-accent) 35%, transparent);
	transition: width .42s cubic-bezier(.22, 1, .36, 1);
}

.omhdf-progress__text {
	flex: 0 0 auto;
	color: var(--omhdf-muted);
	font-size: 13px;
	white-space: nowrap;
}

.omhdf-step {
	animation: omhdf-enter .45s cubic-bezier(.22, 1, .36, 1);
}

.omhdf-step[hidden],
.omhdf-result[hidden],
.omhdf-other-field[hidden],
.omhdf-prefix-other[hidden],
.omhdf-alert[hidden],
.omhdf-actions button[hidden] {
	display: none !important;
}

.omhdf-step__heading {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 26px;
}

.omhdf-step__heading > span {
	display: grid;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid color-mix(in srgb, var(--omhdf-accent) 24%, transparent);
	border-radius: 14px;
	background: color-mix(in srgb, var(--omhdf-accent) 8%, white);
	color: var(--omhdf-accent);
	font-size: 13px;
	font-weight: 800;
}

.omhdf-step__heading h3,
.omhdf-result h3 {
	margin: 0 0 4px;
	color: var(--omhdf-ink);
	font-size: clamp(21px, 3vw, 27px);
	letter-spacing: -.025em;
	line-height: 1.2;
}

.omhdf-step__heading p {
	margin: 0;
	color: var(--omhdf-muted);
	font-size: 14px;
}

.omhdf-grid {
	display: grid;
	gap: 20px;
}

.omhdf-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.omhdf-field--full {
	grid-column: 1 / -1;
}

.omhdf-field label {
	display: block;
	margin: 0 0 8px;
	color: var(--omhdf-ink);
	font-size: 13px;
	font-weight: 750;
}

.omhdf-field input,
.omhdf-field select {
	display: block;
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--omhdf-line);
	border-radius: 15px;
	outline: none;
	background: rgba(255, 255, 255, .82);
	box-shadow: 0 1px 2px rgba(17, 16, 38, .03);
	color: var(--omhdf-ink);
	font: inherit;
	font-size: 16px;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.omhdf-field input:hover,
.omhdf-field select:hover {
	border-color: color-mix(in srgb, var(--omhdf-accent) 32%, var(--omhdf-line));
}

.omhdf-field input:focus,
.omhdf-field select:focus {
	border-color: var(--omhdf-accent);
	background: #fff;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--omhdf-accent) 13%, transparent);
}

.omhdf-field input[aria-invalid="true"],
.omhdf-field select[aria-invalid="true"] {
	border-color: var(--omhdf-danger);
	box-shadow: 0 0 0 4px rgba(201, 50, 76, .09);
}

.omhdf-field select {
	padding-right: 42px;
	appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--omhdf-muted) 50%),
		linear-gradient(135deg, var(--omhdf-muted) 50%, transparent 50%);
	background-position:
		calc(100% - 20px) 24px,
		calc(100% - 15px) 24px;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	cursor: pointer;
}

.omhdf-field__help {
	display: block;
	margin-top: 9px;
	color: var(--omhdf-muted);
	font-size: 12px;
	line-height: 1.45;
}

.omhdf-prefix-other {
	padding: 16px;
	border: 1px dashed color-mix(in srgb, var(--omhdf-accent) 30%, var(--omhdf-line));
	border-radius: 16px;
	background: color-mix(in srgb, var(--omhdf-accent) 5%, white);
	animation: omhdf-enter .3s ease;
}

.omhdf-company-panel {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	padding: clamp(20px, 4vw, 28px);
	border: 1px solid color-mix(in srgb, var(--omhdf-accent) 20%, var(--omhdf-line));
	border-radius: 22px;
	background:
		radial-gradient(circle at 100% 0, color-mix(in srgb, var(--omhdf-accent) 12%, transparent), transparent 44%),
		rgba(255, 255, 255, .78);
	box-shadow: 0 16px 38px rgba(31, 27, 71, .07);
}

.omhdf-company-panel__icon {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border-radius: 18px;
	background: color-mix(in srgb, var(--omhdf-accent) 11%, white);
	color: var(--omhdf-accent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--omhdf-accent) 16%, transparent);
}

.omhdf-company-panel__icon svg {
	display: block;
	width: 29px;
	height: 29px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.omhdf-field__error,
.omhdf-group-error,
.omhdf-consent-error {
	display: none;
	margin-top: 7px;
	color: var(--omhdf-danger);
	font-size: 12px;
	font-weight: 650;
}

.omhdf-field.is-invalid .omhdf-field__error,
.omhdf-choice-group.is-invalid + .omhdf-group-error,
.omhdf-consent.is-invalid + .omhdf-consent-error {
	display: block;
}

.omhdf-choice-group {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	border: 0;
}

.omhdf-choice {
	position: relative;
	display: flex;
	min-height: 145px;
	padding: 18px;
	flex-direction: column;
	justify-content: space-between;
	border: 1px solid var(--omhdf-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, .76);
	cursor: pointer;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.omhdf-choice:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--omhdf-accent) 38%, var(--omhdf-line));
	box-shadow: 0 12px 25px rgba(24, 20, 61, .08);
}

.omhdf-choice:has(input:checked),
.omhdf-choice.is-selected {
	border-color: var(--omhdf-accent);
	background: color-mix(in srgb, var(--omhdf-accent) 7%, white);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--omhdf-accent) 10%, transparent);
}

.omhdf-choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.omhdf-choice__icon {
	display: grid;
	width: 42px;
	height: 42px;
	margin-bottom: 18px;
	place-items: center;
	border-radius: 13px;
	background: color-mix(in srgb, var(--omhdf-accent) 10%, white);
	color: var(--omhdf-accent);
	font-size: 19px;
	font-weight: 800;
}

.omhdf-choice strong,
.omhdf-choice small {
	display: block;
}

.omhdf-choice strong {
	color: var(--omhdf-ink);
	font-size: 14px;
	line-height: 1.3;
}

.omhdf-choice small {
	margin-top: 5px;
	color: var(--omhdf-muted);
	font-size: 11px;
	line-height: 1.4;
}

.omhdf-other-field {
	margin-top: 18px;
	animation: omhdf-enter .3s ease;
}

.omhdf-consent {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 18px;
	border: 1px solid var(--omhdf-line);
	border-radius: 17px;
	background: rgba(255, 255, 255, .74);
	cursor: pointer;
}

.omhdf-consent input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.omhdf-consent__box {
	position: relative;
	flex: 0 0 23px;
	width: 23px;
	height: 23px;
	margin-top: 1px;
	border: 1.5px solid #aaa7b8;
	border-radius: 7px;
	background: #fff;
	transition: .2s ease;
}

.omhdf-consent__box::after {
	position: absolute;
	top: 3px;
	left: 7px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	opacity: 0;
	transform: rotate(45deg) scale(.7);
	transition: .2s ease;
}

.omhdf-consent input:checked + .omhdf-consent__box {
	border-color: var(--omhdf-accent);
	background: var(--omhdf-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--omhdf-accent) 11%, transparent);
}

.omhdf-consent input:checked + .omhdf-consent__box::after {
	opacity: 1;
	transform: rotate(45deg) scale(1);
}

.omhdf-consent > span:last-child {
	color: var(--omhdf-muted);
	font-size: 13px;
}

.omhdf-consent a {
	color: var(--omhdf-accent);
	font-weight: 700;
	text-decoration: none;
}

.omhdf-consent.is-invalid {
	border-color: var(--omhdf-danger);
}

.omhdf-summary {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: 15px;
	background: color-mix(in srgb, var(--omhdf-accent) 7%, white);
	color: var(--omhdf-muted);
}

.omhdf-summary > span {
	display: grid;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	place-items: center;
	border-radius: 50%;
	background: var(--omhdf-accent);
	color: #fff;
	font-size: 12px;
}

.omhdf-summary p {
	margin: 0;
	font-size: 12px;
}

.omhdf-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 32px;
}

.omhdf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 22px;
	border: 0;
	border-radius: 14px;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 760;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}

.omhdf-btn:hover {
	transform: translateY(-1px);
}

.omhdf-btn:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--omhdf-accent) 30%, transparent);
	outline-offset: 3px;
}

.omhdf-btn--primary {
	background: linear-gradient(135deg, var(--omhdf-accent), color-mix(in srgb, var(--omhdf-accent) 72%, #21154f));
	box-shadow: 0 12px 25px color-mix(in srgb, var(--omhdf-accent) 24%, transparent);
	color: #fff;
}

.omhdf-btn--primary:hover {
	box-shadow: 0 16px 30px color-mix(in srgb, var(--omhdf-accent) 31%, transparent);
	color: #fff;
}

.omhdf-btn--ghost {
	margin-right: auto;
	background: transparent;
	color: var(--omhdf-muted);
}

.omhdf-btn--ghost:hover {
	background: rgba(20, 18, 43, .05);
	color: var(--omhdf-ink);
}

.omhdf-btn[disabled] {
	cursor: wait;
	opacity: .65;
	transform: none;
}

.omhdf-alert {
	margin-top: 20px;
	padding: 13px 15px;
	border: 1px solid rgba(201, 50, 76, .2);
	border-radius: 13px;
	background: rgba(201, 50, 76, .07);
	color: var(--omhdf-danger);
	font-size: 13px;
	font-weight: 650;
}

.omhdf-result {
	padding: 22px 0 4px;
	text-align: center;
	animation: omhdf-enter .45s ease;
}

.omhdf-loader {
	position: relative;
	width: 138px;
	height: 138px;
	margin: 0 auto 28px;
}

.omhdf-loader__ring {
	position: absolute;
	inset: 0;
	border: 5px solid color-mix(in srgb, var(--omhdf-accent) 12%, transparent);
	border-top-color: var(--omhdf-accent);
	border-right-color: color-mix(in srgb, var(--omhdf-accent) 55%, #ff7ab6);
	border-radius: 50%;
	box-shadow: 0 0 30px color-mix(in srgb, var(--omhdf-accent) 14%, transparent);
	animation: omhdf-spin 1s linear infinite;
}

.omhdf-loader__ring::before {
	position: absolute;
	inset: 9px;
	border: 1px solid color-mix(in srgb, var(--omhdf-accent) 16%, transparent);
	border-radius: inherit;
	content: "";
}

.omhdf-loader__logo {
	position: absolute;
	inset: 17px;
	display: grid;
	overflow: hidden;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 8px 25px rgba(25, 21, 57, .12);
}

.omhdf-loader__logo img {
	display: block;
	width: 70%;
	height: 70%;
	object-fit: contain;
}

.omhdf-result__title {
	margin-bottom: 10px !important;
}

.omhdf-result__message {
	max-width: 570px;
	margin: 0 auto;
	color: var(--omhdf-muted);
	font-size: 16px;
}

.omhdf-result__message p {
	margin: 0 0 10px;
}

.omhdf-result__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.omhdf-download-again {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 0 18px;
	border: 1px solid var(--omhdf-line);
	border-radius: 13px;
	color: var(--omhdf-ink);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.omhdf-download-again:hover {
	border-color: var(--omhdf-accent);
	color: var(--omhdf-accent);
}

.omhdf-result.is-error .omhdf-loader__ring {
	border-color: rgba(201, 50, 76, .14);
	border-top-color: var(--omhdf-danger);
	animation: none;
}

.omhdf-result.is-complete .omhdf-loader__ring {
	border-color: color-mix(in srgb, var(--omhdf-accent) 18%, transparent);
	animation: none;
}

.omhdf-result.is-complete .omhdf-loader::after {
	position: absolute;
	right: 2px;
	bottom: 8px;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border: 4px solid #fff;
	border-radius: 50%;
	background: #22a06b;
	color: #fff;
	content: "✓";
	font-size: 16px;
	font-weight: 900;
	box-shadow: 0 6px 16px rgba(34, 160, 107, .28);
}


.omhdf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.omhdf-app .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes omhdf-enter {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes omhdf-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 700px) {
	.omhdf-app {
		margin: 18px auto;
	}

	.omhdf-shell {
		padding: 24px 18px;
		border-radius: 22px;
	}

	.omhdf-grid--2,
	.omhdf-choice-group {
		grid-template-columns: 1fr;
	}

	.omhdf-company-panel {
		grid-template-columns: 1fr;
		padding: 20px;
	}

	.omhdf-company-panel__icon {
		width: 50px;
		height: 50px;
	}

	.omhdf-choice {
		min-height: 0;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 14px;
	}

	.omhdf-choice__icon {
		flex: 0 0 42px;
		margin: 0;
	}

	.omhdf-actions {
		flex-wrap: wrap;
	}

	.omhdf-actions .omhdf-btn {
		flex: 1 1 140px;
	}

	.omhdf-btn--ghost {
		order: 2;
		margin-right: 0;
	}

	.omhdf-progress {
		gap: 10px;
	}

	.omhdf-progress__text {
		font-size: 11px;
	}
}

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


/* Invitación final */
.omhdf-event[hidden] {
	display: none;
}

.omhdf-event {
	max-width: 690px;
	margin: 30px auto 0;
	padding: 25px;
	border: 1px solid color-mix(in srgb, var(--omhdf-accent) 22%, var(--omhdf-line));
	border-radius: 22px;
	background:
		radial-gradient(circle at 100% 0, color-mix(in srgb, var(--omhdf-accent) 15%, transparent), transparent 42%),
		linear-gradient(145deg, color-mix(in srgb, var(--omhdf-accent) 5%, white), #fff);
	box-shadow: 0 18px 45px rgba(28, 23, 71, .09);
	text-align: left;
	animation: omhdf-enter .45s ease;
}

.omhdf-event__eyebrow {
	display: inline-flex;
	margin-bottom: 10px;
	color: var(--omhdf-accent);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .14em;
}

.omhdf-event__title {
	margin: 0 0 10px !important;
	color: var(--omhdf-ink);
	font-size: clamp(20px, 3vw, 25px);
	line-height: 1.2;
}

.omhdf-event__message {
	color: var(--omhdf-muted);
	font-size: 14px;
	line-height: 1.65;
}

.omhdf-event__message p {
	margin: 0 0 10px;
}

.omhdf-event__choices {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 20px;
}

.omhdf-event__choice {
	min-height: 50px;
	padding: 10px 13px;
	border: 1px solid color-mix(in srgb, var(--omhdf-accent) 24%, var(--omhdf-line));
	border-radius: 14px;
	background: rgba(255, 255, 255, .9);
	color: var(--omhdf-ink);
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 760;
	line-height: 1.35;
	text-align: center;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.omhdf-event__choice:hover:not(:disabled) {
	transform: translateY(-2px);
	border-color: var(--omhdf-accent);
	box-shadow: 0 10px 22px color-mix(in srgb, var(--omhdf-accent) 14%, transparent);
}

.omhdf-event__choice:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--omhdf-accent) 26%, transparent);
	outline-offset: 2px;
}

.omhdf-event__choice.is-selected {
	border-color: var(--omhdf-accent);
	background: var(--omhdf-accent);
	color: #fff;
	box-shadow: 0 10px 22px color-mix(in srgb, var(--omhdf-accent) 24%, transparent);
}

.omhdf-event__choice:disabled {
	cursor: default;
	opacity: .62;
}

.omhdf-event__choice.is-selected:disabled {
	opacity: 1;
}

.omhdf-event__status {
	min-height: 20px;
	margin: 13px 0 0;
	color: var(--omhdf-muted);
	font-size: 12px;
	font-weight: 650;
	text-align: center;
}

.omhdf-event__status.is-success {
	color: #16835a;
}

.omhdf-event__status.is-error {
	color: var(--omhdf-danger);
}

@media (max-width: 720px) {
	.omhdf-event {
		padding: 20px;
	}

	.omhdf-event__choices {
		grid-template-columns: 1fr;
	}

	.omhdf-event__choice {
		width: 100%;
	}
}
