/* AC TuViaje · Pop up Newsletter. Cambia los colores y fuentes aquí. */
#acn-popup {
	--acn-navy: #1F2A5A;
	--acn-yellow: #F2B705;
	--acn-terra: #B5543C;
	--acn-cream: #F6F0E4;
	--acn-heading: 'Della Respira', 'Lora', Georgia, 'Times New Roman', serif;
	--acn-body: 'Montserrat', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html.acn-lock { overflow: hidden; }

.acn-overlay {
	position: fixed; inset: 0; z-index: 999999;
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
	background: rgba(16, 22, 48, .62);
	opacity: 0; visibility: hidden;
	transition: opacity .3s ease, visibility .3s;
}
.acn-overlay.acn-is-open { opacity: 1; visibility: visible; }

.acn-modal {
	position: relative;
	display: grid; grid-template-columns: 42% 1fr;
	width: 100%; max-width: 780px; max-height: calc(100vh - 32px);
	overflow: auto;
	background: var(--acn-cream); color: var(--acn-navy);
	border-radius: 16px;
	box-shadow: 0 30px 80px rgba(10, 15, 40, .35);
	font-family: var(--acn-body);
	transform: translateY(16px) scale(.98);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.acn-is-open .acn-modal { transform: none; }

.acn-media { position: relative; min-height: 100%; background: #34508F; }
.acn-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.acn-badge {
	position: absolute; left: 14px; bottom: 14px;
	background: var(--acn-yellow); color: var(--acn-navy);
	font-size: 12px; font-weight: 700; letter-spacing: .3px;
	padding: 6px 10px; border-radius: 999px;
}

.acn-body { padding: 40px 36px 30px; display: flex; align-items: center; }
.acn-step { width: 100%; }
.acn-step[hidden] { display: none; }

.acn-kicker {
	margin: 0 0 8px; color: var(--acn-terra);
	font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
}
.acn-title {
	margin: 0 0 12px; color: var(--acn-navy);
	font-family: var(--acn-heading); font-size: 30px; line-height: 1.12; font-weight: 700;
}
.acn-text { margin: 0 0 20px; font-size: 15px; line-height: 1.55; color: #3A4270; }

.acn-field { display: block; margin-bottom: 12px; }
.acn-field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.acn-field input {
	width: 100%; box-sizing: border-box;
	padding: 12px 14px; font-size: 16px; font-family: inherit; color: var(--acn-navy);
	background: #fff; border: 1.5px solid #D5CCBA; border-radius: 10px;
	transition: border-color .2s, box-shadow .2s;
}
.acn-field input:focus { outline: none; border-color: var(--acn-navy); box-shadow: 0 0 0 3px rgba(31, 42, 90, .15); }

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

.acn-submit {
	display: block; width: 100%; box-sizing: border-box; margin-top: 6px;
	padding: 14px 18px; border: 0; border-radius: 10px; cursor: pointer;
	background: var(--acn-navy); color: #fff; text-align: center; text-decoration: none;
	font-family: inherit; font-size: 16px; font-weight: 700;
	transition: transform .15s, background .2s;
}
.acn-submit:hover, .acn-submit:focus-visible { background: #2B3A7A; color: #fff; }
.acn-submit:active { transform: scale(.98); }
.acn-submit:disabled { opacity: .7; cursor: wait; }
.acn-download { background: var(--acn-yellow); color: var(--acn-navy); }
.acn-download:hover, .acn-download:focus-visible { background: #FFC61A; color: var(--acn-navy); }

.acn-error { display: none; margin: 10px 0 0; color: #B3261E; font-size: 14px; }
.acn-error.acn-show { display: block; }
.acn-legal { margin: 12px 0 0; font-size: 12px; line-height: 1.45; color: #6B6F8C; }
.acn-legal a { color: inherit; }

.acn-link {
	display: block; margin: 14px auto 0; padding: 4px;
	background: none; border: 0; cursor: pointer;
	color: var(--acn-navy); font: inherit; font-size: 14px; text-decoration: underline;
}

.acn-close {
	position: absolute; top: 10px; right: 10px; z-index: 2;
	width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, .9); color: var(--acn-navy);
	font-size: 26px; line-height: 38px; text-align: center; padding: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.acn-close:hover { background: #fff; }

.acn-inline-btn {
	padding: 12px 20px; border: 0; border-radius: 10px; cursor: pointer;
	background: var(--acn-yellow, #F2B705); color: var(--acn-navy, #1F2A5A);
	font-weight: 700; font-size: 16px;
}

@media (max-width: 640px) {
	.acn-overlay { align-items: flex-end; padding: 0; }
	.acn-modal {
		grid-template-columns: 1fr; max-height: 92vh;
		border-radius: 18px 18px 0 0;
		transform: translateY(40px);
	}
	.acn-media { height: 120px; min-height: 0; }
	.acn-media img { object-position: center 62%; }
	.acn-badge { left: 12px; bottom: 10px; font-size: 11px; }
	.acn-close { width: 34px; height: 34px; line-height: 34px; font-size: 22px; }
	.acn-body { padding: 18px 18px 20px; }
	.acn-kicker { font-size: 11px; margin-bottom: 4px; }
	.acn-title { font-size: 22px; margin-bottom: 8px; }
	.acn-text { font-size: 13.5px; line-height: 1.45; margin-bottom: 12px; }
	.acn-field { margin-bottom: 8px; }
	.acn-field span { font-size: 12px; margin-bottom: 3px; }
	.acn-field input { padding: 10px 12px; }
	.acn-submit { padding: 12px 16px; }
	.acn-legal { font-size: 11px; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.acn-overlay, .acn-modal { transition: none; }
}
