/* Auna Captación — landing de acceso prioritario.
   Paleta e identidad leídas de aunaconecta.com (convención .auna-master). */

.auna-ap,
.auna-ap *,
.auna-ap *::before,
.auna-ap *::after {
	box-sizing: border-box;
}

.auna-ap {
	--navy: #071c4b;
	--navy-soft: #344d7b;
	--green: #0b8b5c;
	--green-dark: #08734d;
	--green-light: #19a487;
	--coral: #f36d54;
	--text: #65779c;
	--border: #d9e6ec;
	--soft: #edf8f5;
	--blue-soft: #f4f8ff;
	--white: #ffffff;

	margin: 0;
	padding: 56px 20px 72px;
	background:
		radial-gradient(circle at 88% 4%, rgba(206, 243, 227, .5) 0, transparent 34%),
		radial-gradient(circle at 6% 96%, rgba(213, 232, 255, .55) 0, transparent 34%),
		linear-gradient(180deg, var(--white) 0%, var(--blue-soft) 100%);
	color: var(--navy);
	font-family: "Poppins", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.auna-ap__wrap {
	max-width: 660px;
	margin: 0 auto;
}

/* ---------- Hero ---------- */

.auna-ap__hero {
	margin: 0 0 30px;
	text-align: center;
}

.auna-ap__eyebrow {
	display: inline-block;
	margin: 0 0 16px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--soft);
	color: var(--green-dark);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.auna-ap__title {
	margin: 0 0 14px;
	color: var(--navy);
	font-family: "Poppins", Arial, sans-serif;
	font-size: clamp(27px, 5.4vw, 40px);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.8px;
}

.auna-ap__intro {
	max-width: 520px;
	margin: 0 auto;
	color: var(--text);
	font-size: 16px;
	line-height: 1.65;
}

.auna-ap__lema {
	margin: 18px 0 0;
	color: var(--green-dark);
	font-size: 14px;
	font-weight: 600;
}

/* ---------- Tarjeta ---------- */

.auna-ap__card {
	padding: 32px;
	border: 1px solid var(--border);
	border-radius: 20px;
	background: var(--white);
	box-shadow: 0 18px 48px rgba(7, 28, 75, .07);
}

.auna-ap__form {
	display: grid;
	gap: 18px;
	margin: 0;
}

.auna-ap__row {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr 1fr;
}

.auna-ap__field {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.auna-ap__field label {
	color: var(--navy);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
}

.auna-ap__field label span[aria-hidden] {
	color: var(--coral);
}

.auna-ap__opt {
	color: var(--text);
	font-weight: 400;
}

.auna-ap__field input,
.auna-ap__field select {
	width: 100%;
	height: 50px;
	padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--white);
	color: var(--navy);
	font-family: inherit;
	/* 16 px reales: por debajo, iOS hace zoom al enfocar. */
	font-size: 16px;
	line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease;
	appearance: none;
	-webkit-appearance: none;
}

.auna-ap__field select {
	padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365779c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 13px center;
	background-size: 17px 17px;
}

.auna-ap__field input::placeholder {
	color: #a8b4cc;
}

.auna-ap__field input:focus,
.auna-ap__field select:focus {
	outline: none;
	border-color: var(--green-light);
	box-shadow: 0 0 0 3px rgba(25, 164, 135, .18);
}

.auna-ap__field.is-error input,
.auna-ap__field.is-error select {
	border-color: #d06a5a;
	box-shadow: 0 0 0 3px rgba(243, 109, 84, .14);
}

.auna-ap__hint {
	margin: 0;
	color: #b0483a;
	font-size: 12.5px;
	line-height: 1.45;
}

/* ---------- Consentimientos ---------- */

.auna-ap__consents {
	display: grid;
	gap: 12px;
	padding: 18px;
	border-radius: 14px;
	background: var(--soft);
}

.auna-ap__check {
	display: grid;
	gap: 10px;
	grid-template-columns: 20px 1fr;
	align-items: start;
	cursor: pointer;
	color: var(--navy);
	font-size: 13.5px;
	line-height: 1.5;
}

.auna-ap__check input {
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--green);
	cursor: pointer;
}

.auna-ap__check a {
	color: var(--green-dark);
	font-weight: 600;
	text-decoration: underline;
}

.auna-ap__consents .auna-ap__hint {
	grid-column: 1 / -1;
	margin: -4px 0 0;
}

/* ---------- Botón y errores ---------- */

.auna-ap__error {
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fdecea;
	color: #8a2d1c;
	font-size: 13.5px;
	line-height: 1.5;
}

.auna-ap__submit {
	width: 100%;
	min-height: 54px;
	padding: 15px 22px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, #129354, var(--green-dark));
	box-shadow: 0 10px 24px rgba(8, 115, 77, .26);
	color: var(--white);
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .4px;
	transition: transform .12s ease, box-shadow .15s ease, opacity .15s ease;
}

.auna-ap__submit:hover {
	box-shadow: 0 13px 30px rgba(8, 115, 77, .32);
	transform: translateY(-1px);
}

.auna-ap__submit:focus-visible {
	outline: 3px solid rgba(25, 164, 135, .45);
	outline-offset: 2px;
}

.auna-ap__submit[disabled] {
	cursor: progress;
	opacity: .72;
	transform: none;
}

.auna-ap__legal {
	margin: 0;
	color: var(--text);
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

/* ---------- Confirmación ---------- */

.auna-ap__thanks {
	text-align: center;
}

.auna-ap__check-icon {
	display: flex;
	width: 58px;
	height: 58px;
	margin: 0 auto 18px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--soft);
	color: var(--green);
}

.auna-ap__thanks h2 {
	margin: 0 0 12px;
	color: var(--navy);
	font-size: clamp(21px, 4.4vw, 26px);
	font-weight: 700;
	line-height: 1.25;
}

.auna-ap__thanks p {
	margin: 0 auto;
	max-width: 440px;
	color: var(--text);
	font-size: 15px;
	line-height: 1.65;
}

.auna-ap__thanks-next {
	margin: 26px 0 0;
	padding: 22px 18px 20px;
	border-top: 1px solid var(--border);
}

.auna-ap__thanks-next p {
	margin: 0 0 16px;
	color: var(--navy);
	font-size: 14.5px;
	font-weight: 500;
}

.auna-ap__btn-secondary {
	display: inline-block;
	padding: 13px 26px;
	border: 1.5px solid var(--green);
	border-radius: 12px;
	background: var(--white);
	color: var(--green-dark) !important;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .4px;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

.auna-ap__btn-secondary:hover {
	background: var(--green);
	color: var(--white) !important;
}

/* ---------- Confianza ---------- */

.auna-ap__trust {
	display: flex;
	margin: 26px 0 0;
	padding: 0;
	gap: 10px 26px;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
}

.auna-ap__trust li {
	display: flex;
	gap: 7px;
	align-items: center;
	color: var(--text);
	font-size: 13px;
	line-height: 1.4;
}

.auna-ap__trust svg {
	flex: 0 0 17px;
	color: var(--green);
}

/* ---------- Honeypot ---------- */

.auna-ap .auna-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Móvil ---------- */

@media (max-width: 600px) {
	.auna-ap {
		padding: 36px 16px 52px;
	}

	.auna-ap__card {
		padding: 24px 18px;
		border-radius: 16px;
	}

	.auna-ap__row {
		grid-template-columns: 1fr;
	}

	.auna-ap__trust {
		gap: 10px;
		flex-direction: column;
		align-items: flex-start;
		max-width: 340px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.auna-ap__submit,
	.auna-ap__btn-secondary {
		transition: none;
	}

	.auna-ap__submit:hover {
		transform: none;
	}
}
