.flacso-hook-form-wrap {
	max-width: 820px;
	margin: 3rem auto;
	padding: 0 1rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}
.flacso-hook-intro {
	max-width: 920px;
	margin: 0 auto 2rem;
}
.flacso-hook-intro:empty {
	display: none;
}
.flacso-hook-form {
	display: grid;
	gap: 1.5rem;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border: 1px solid #e3e9ef;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(15, 35, 56, .1);
}
.flacso-hook-control {
	display: grid;
	gap: .55rem;
}
.flacso-hook-control label {
	font-size: .98rem;
	font-weight: 650;
	line-height: 1.35;
	color: #343a40;
}
.flacso-hook-required {
	color: #dc3545;
}
.flacso-hook-control input,
.flacso-hook-control select,
.flacso-hook-control textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 3.5rem;
	padding: .9rem 1rem;
	border: 2px solid #e3e8ed;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 1rem;
	color: #1f2937;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.flacso-hook-control textarea {
	min-height: 9rem;
	line-height: 1.55;
	resize: vertical;
}
.flacso-hook-control input::placeholder,
.flacso-hook-control textarea::placeholder {
	color: #8a96a3;
	opacity: 1;
}
.flacso-hook-control input:hover,
.flacso-hook-control select:hover,
.flacso-hook-control textarea:hover {
	border-color: #c8d1da;
}
.flacso-hook-control input:focus,
.flacso-hook-control select:focus,
.flacso-hook-control textarea:focus {
	border-color: #1d3a72;
	box-shadow: 0 0 0 3px rgba(29, 58, 114, .1);
	outline: none;
}
.flacso-hook-form.was-validated input:invalid,
.flacso-hook-form.was-validated select:invalid,
.flacso-hook-form.was-validated textarea:invalid {
	border-color: #dc3545;
	box-shadow: 0 0 0 3px rgba(220, 53, 69, .08);
}
.flacso-hook-control input.flacso-hook-invalid {
	border-color: #dc3545;
	box-shadow: 0 0 0 3px rgba(220, 53, 69, .08);
}
.flacso-hook-field-error {
	display: none;
	color: #b42332 !important;
	font-weight: 600;
}
.flacso-hook-invalid + .flacso-hook-field-error {
	display: block;
}
.flacso-hook-form.was-validated input:valid:not([type="checkbox"]):not([type="radio"]),
.flacso-hook-form.was-validated select:valid,
.flacso-hook-form.was-validated textarea:valid {
	border-color: #198754;
}
.flacso-hook-control select {
	padding-right: 2.75rem;
	background-image: linear-gradient(45deg, transparent 50%, #526170 50%), linear-gradient(135deg, #526170 50%, transparent 50%);
	background-position: calc(100% - 19px) 50%, calc(100% - 13px) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	appearance: none;
}
.flacso-hook-document {
	display: grid;
	grid-template-columns: minmax(175px, .65fr) 1fr;
	gap: .75rem;
}
.flacso-hook-control small {
	color: #6c757d;
	font-size: .88rem;
	line-height: 1.45;
}
.flacso-hook-phone-help::before {
	content: "ⓘ ";
	color: #1d3a72;
	font-weight: 700;
}
.flacso-hook-control .iti {
	width: 100%;
}
.flacso-hook-control .iti__selected-country {
	padding: 0 .65rem;
}
.flacso-hook-control .iti__country-container {
	border-radius: 8px 0 0 8px;
}
.flacso-hook-checkbox {
	display: flex !important;
	align-items: center;
	gap: .75rem;
	min-height: 3.25rem;
	margin: 0;
	padding: .75rem 1rem;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	background: #f8f9fa;
	cursor: pointer;
	transition: all .2s ease;
}
.flacso-hook-checkbox:hover {
	border-color: #bdc9d8;
	background: #f2f5f9;
}
.flacso-hook-checkbox input {
	flex: 0 0 1.15rem;
	width: 1.15rem;
	height: 1.15rem;
	min-height: 0;
	margin: 0;
	padding: 0;
	accent-color: #1d3a72;
}
.flacso-hook-checkbox:has(input:checked) {
	border-color: #1d3a72;
	background: #eef3fb;
	color: #1d3a72;
}
.flacso-hook-scale {
	display: flex;
	flex-wrap: wrap;
	gap: .65rem;
}
.flacso-hook-scale label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .35rem;
	min-width: 3.2rem;
	padding: .7rem .85rem;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	background: #f8f9fa;
	cursor: pointer;
}
.flacso-hook-scale input {
	width: 1rem;
	height: 1rem;
	min-height: 0;
	padding: 0;
	accent-color: #1d3a72;
}
.flacso-hook-grid {
	display: grid;
	gap: .8rem;
	overflow-x: auto;
}
.flacso-hook-grid fieldset {
	display: flex;
	flex-wrap: wrap;
	gap: .65rem 1rem;
	margin: 0;
	padding: .8rem;
	border: 1px solid #dfe4e8;
	border-radius: 8px;
	background: #fbfcfd;
}
.flacso-hook-grid legend {
	padding: 0 .4rem;
	color: #1d3a72;
	font-weight: 700;
}
.flacso-hook-section {
	border-top: 2px solid #146f6d;
}
.flacso-hook-form > button[type="submit"] {
	width: 100%;
	min-height: 3.6rem;
	padding: 1rem 1.5rem;
	border: 0;
	border-radius: 10px;
	background: #1d3a72;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 5px 14px rgba(29, 58, 114, .24);
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.flacso-hook-form > button[type="submit"]:hover {
	transform: translateY(-1px);
	background: #162f60;
	box-shadow: 0 8px 20px rgba(29, 58, 114, .3);
}
.flacso-hook-form > button[type="submit"]:focus-visible {
	outline: 3px solid rgba(29, 58, 114, .25);
	outline-offset: 3px;
}
.flacso-hook-form > button[type="submit"]:disabled {
	cursor: wait;
}
.flacso-hook-form > button[type="submit"].is-loading {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .7rem;
	background: #1d3a72;
	opacity: .88;
}
.flacso-hook-form > button[type="submit"].is-loading::before {
	width: 1.1rem;
	height: 1.1rem;
	border: 2px solid rgba(255, 255, 255, .4);
	border-top-color: #fff;
	border-radius: 50%;
	content: "";
	animation: flacso-hook-spin .7s linear infinite;
}
@keyframes flacso-hook-spin {
	to { transform: rotate(360deg); }
}
.flacso-hook-form-status {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
@media (prefers-reduced-motion: reduce) {
	.flacso-hook-form > button[type="submit"].is-loading::before {
		animation-duration: 1.4s;
	}
}
.flacso-hook-hp { position: absolute !important; left: -9999px !important; }
.flacso-hook-notice { margin: 0 0 1rem; padding: 1rem; border-radius: 6px; }
.flacso-hook-notice.success { background: #e8f6ee; color: #176536; }
.flacso-hook-notice.error { background: #fdecec; color: #962424; }
.flacso-hook-thanks {
	max-width: 720px;
	margin: 4rem auto;
	padding: clamp(1.5rem, 5vw, 3rem);
	border: 1px solid #cfe7dc;
	border-radius: 14px;
	background: #f2fbf6;
	text-align: center;
}
@media (max-width: 560px) {
	.flacso-hook-document { grid-template-columns: 1fr; }
	.flacso-hook-form { padding: 1.15rem; }
}
