:root {
	--bg: #140D08;
	--card: rgba(255,255,255,0.07);
	--text: rgba(255,248,242,0.93);
	--muted: rgba(255,229,210,0.72);
	--border: rgba(240,163,94,0.22);
	--border-featured: rgba(240,163,94,0.55);
	--btn: #D96A1D;
	--btnText: #FFF7F0;
	--shadow: 0 10px 30px rgba(0,0,0,0.36);
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	color: var(--text);
	background:
		radial-gradient(1200px 700px at 20% 20%, rgba(217,106,29,0.16), transparent 60%),
		radial-gradient(900px 600px at 80% 30%, rgba(240,163,94,0.11), transparent 55%),
		radial-gradient(800px 600px at 50% 90%, rgba(255,210,150,0.08), transparent 55%),
		var(--bg);
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 28px 16px;
}

/* ── Entrada de la card ── */
.wrap {
	width: min(760px, 100%);
	animation: cardEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardEnter {
	from { opacity: 0; transform: translateY(22px); }
	to   { opacity: 1; transform: translateY(0); }
}

.card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 18px;
	box-shadow: var(--shadow);
	overflow: hidden;
	backdrop-filter: blur(10px);
}

header {
	display: flex;
	gap: 18px;
	align-items: center;
	padding: 22px 22px 10px 22px;
	justify-content: space-between;
}

.feedbackLink {
	margin-left: auto;
	text-decoration: none;
	color: #D96A1D;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
	text-align: right;
}
.feedbackLink:hover { text-decoration: underline; color: #F0A35E; }

.avatar {
	width: 84px;
	height: 84px;
	border-radius: 16px;
	object-fit: cover;
	border: 1px solid var(--border);
	background: rgba(255,255,255,0.06);
	flex-shrink: 0;
}

h1 {
	font-size: 22px;
	line-height: 1.2;
	margin: 0 0 6px 0;
	letter-spacing: 0.2px;
}

/* ── Bandera chilena inline ── */
.chile-flag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	vertical-align: middle;
}
.chile-flag svg {
	width: 18px;
	height: 13px;
	border-radius: 2px;
	overflow: hidden;
	vertical-align: middle;
	flex-shrink: 0;
}

.sub {
	margin: 0;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.4;
}

/* ── Indicador de disponibilidad ── */
.availability {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 7px;
	font-size: 12.5px;
	color: rgba(160,230,160,0.85);
	font-weight: 600;
	letter-spacing: 0.1px;
}
.availability-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4ade80;
	animation: pulse-dot 2s ease-in-out infinite;
	flex-shrink: 0;
}
@keyframes pulse-dot {
	0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); }
	50%       { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

.content { padding: 10px 22px 22px 22px; }

.sectionTitle {
	margin: 6px 0 8px 0;
	color: var(--muted);
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 0.35px;
	text-transform: uppercase;
}
.sectionTitleNote {
	font-size: 12px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: var(--muted);
}

.priceGrid {
	display: grid;
	gap: 12px;
	margin-top: 22px;
	max-width: 350px;
}

.price {
	position: relative;
	margin: 14px 0 10px 0;
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: rgba(255,255,255,0.05);
}
.priceGrid .price { margin: 0; }

/* ── Card destacada ── */
.price--featured {
	border-color: var(--border-featured);
	background: rgba(217,106,29,0.10);
	box-shadow: 0 0 0 1px rgba(240,163,94,0.15), 0 8px 24px rgba(217,106,29,0.15);
}


.priceTop {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.optionTag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 9px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: rgba(217,106,29,0.08);
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.price strong { font-size: 16px; }

.price small {
	display: block;
	margin-top: 4px;
	color: var(--muted);
}

.steps {
	margin: 14px 0 18px 0;
	padding-left: 18px;
	color: var(--text);
}
.steps li { margin: 8px 0; color: var(--muted); }
.steps li b { color: var(--text); font-weight: 600; }

.ctaRow {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 10px;
}

/* ── Botón base ── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 14px;
	border: 0;
	text-decoration: none;
	font-weight: 700;
	background: var(--btn);
	color: var(--btnText);
	transition: transform 120ms ease, filter 120ms ease;
	min-width: 220px;
	text-align: center;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active { transform: translateY(0px); }
.price .btn { width: 100%; min-width: 0; }

/* ── Botón principal: shimmer continuo ── */
.btn--primary {
	position: relative;
	overflow: hidden;
	background: linear-gradient(90deg, #C85A12, #E07830, #F5943A, #E07830, #C85A12);
	background-size: 300% auto;
	animation: btn-shimmer 4s linear infinite;
	box-shadow: 0 4px 18px rgba(217,106,29,0.45);
}
@keyframes btn-shimmer {
	0%   { background-position: 0% center; }
	100% { background-position: 300% center; }
}
.btn--primary:hover {
	box-shadow: 0 6px 22px rgba(217,106,29,0.6);
	animation-play-state: paused;
}


.link {
	color: #F0A35E;
	text-decoration: none;
	border-bottom: 1px dashed rgba(240,163,94,0.35);
}
.link:hover { color: #FFD1A8; }

footer {
	padding: 14px 22px 20px 22px;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: 13.5px;
}
.note { margin: 0; }

.finePrint {
	margin: 10px 0 0;
	color: var(--muted);
	font-size: 12.5px;
}

.socialRow {
	display: flex;
	justify-content: flex-end;
	margin-top: 12px;
}
.fb-icon {
	width: 32px;
	height: 32px;
	display: inline-block;
	vertical-align: middle;
	transition: opacity 0.2s;
}
.fb-icon:hover { opacity: 0.8; }

@media (prefers-reduced-motion: reduce) {
	.wrap { animation: none; }
	.availability-dot { animation: none; }
	.btn { transition: none; }
	.btn:hover { transform: none; }
	.btn--primary { animation: none; }
	.fb-icon { transition: none; }
}
