:root {
	/* Paleta 60 / 30 / 10 del manual */
	--violet:   #5526ff;   /* 60 — color principal */
	--gray-bg:  #e4e4e4;   /* 30 — secundario */
	--lime:     #aad100;   /* 10 — acento */
	--body:     #575756;   /* cuerpo de texto */
	--white:    #ffffff;
	/*--soft:     #f6f6f6;*/
	--line:     #d8d8d8;
	--ink:      #1a1a1a;

	/* Tipográficas */
	--t-40: 40px;
	--t-26: 26px;
	--t-22: 22px;
	--t-16: 16px;
	--radius: 20px;
}

html { scroll-behavior: smooth; }
/* { box-sizing: border-box; margin: 0; padding: 0; }

body {
	font-family: 'Work Sans', sans-serif;
	font-weight: 400;
	font-size: var(--t-16);
	line-height: 1.6;
	color: var(--body);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

/* ───── Tipografía base (manual de estilos) ───── */
main h1, main h2, main h3 {
	font-weight: 700;
	color: var(--ink);
	line-height: 1.15;
	letter-spacing: -0.01em;
}


h1 { font-size: var(--t-40); }
h2 { font-size: var(--t-40); }
h3 { font-size: var(--t-22); font-weight: 600; }  /* semibold */

.eyebrow {
	font-size: var(--t-16);
	font-weight: 500;          /* Medium */
	color: var(--lime);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 14px;
	display: inline-block;
}
.eyebrow.violet { color: var(--violet); }

p { font-size: var(--t-16); color: var(--body); }
strong { color: var(--ink); font-weight: 600; }

/* ───── Botones (radius 20px) ───── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	border-radius: var(--radius);
	font-family: 'Work Sans', sans-serif;
	font-weight: 500;
	font-size: var(--t-16);
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
	border: 2px solid transparent;
}
.btn-primary {
	background: var(--violet);
	color: var(--white);
}
.btn-primary:hover {
	background: #4a1de6;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(85, 38, 255, 0.25);
}
.btn-secondary {
	background: var(--white);
	color: var(--violet);
	border-color: var(--violet);
}
.btn-secondary:hover {
	background: var(--violet);
	color: var(--white);
}
.btn-pill {
	background: var(--white);
	color: var(--violet);
	border: 1.5px solid var(--violet);
	padding: 8px 18px;
	font-size: 14px;
}
.btn-pill:hover { background: var(--violet); color: var(--white); }

/* ───── Layout helpers ───── */
.container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
}

/* ───── Top nav ───── */
.topnav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.topnav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 32px;
	max-width: 1240px;
	margin: 0 auto;
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	color: var(--ink);
}
.brand-mark {
	width: 36px; height: 36px;
	background: var(--violet);
	border-radius: 10px;
	display: grid; place-items: center;
	color: var(--white);
	font-weight: 700;
}
.brand small {
	display: block;
	font-size: 11px;
	font-weight: 500;
	color: var(--body);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.topnav-links {
	display: flex;
	gap: 28px;
	font-size: 14px;
	font-weight: 500;
}
.topnav-links a {
	color: var(--body);
	text-decoration: none;
	transition: color 0.2s;
}
.topnav-links a:hover { color: var(--violet); }

/* ───── HERO ───── */
.hero {
	padding: 80px 0 100px;
	background: var(--white);
	position: relative;
	overflow: hidden;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 60px;
	align-items: center;
}
.hero h1 {
	font-size: clamp(40px, 5vw, 64px);
	margin-bottom: 20px;
	color: var(--ink);
}
.hero h1 .accent { color: var(--violet); }
.hero p.lead {
	font-size: 18px;
	color: var(--body);
	margin-bottom: 32px;
	max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 460px;
}
.hero-visual .blob {
	position: absolute;
	width: 90%; height: 90%;
	background: var(--gray-bg);
	border-radius: var(--radius);
	z-index: 0;
}
.hero-visual .accent-square {
	position: absolute;
	width: 80px; height: 80px;
	background: var(--lime);
	border-radius: var(--radius);
	top: 8%; right: 6%;
	z-index: 1;
}
.hero-visual .violet-card {
	position: absolute;
	width: 140px;
	background: var(--violet);
	border-radius: var(--radius);
	padding: 18px;
	color: var(--white);
	bottom: 10%; left: 4%;
	z-index: 3;
	box-shadow: 0 12px 28px rgba(85, 38, 255, 0.25);
}
.hero-visual .violet-card .label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.8;
	margin-bottom: 6px;
}
.hero-visual .violet-card .val {
	font-size: 24px;
	font-weight: 700;
}
.hero-cup {
	width: 280px; height: auto;
	z-index: 2;
	filter: drop-shadow(0 18px 30px rgba(0,0,0,0.12));
}

/* ───── Section: intro + step chips ───── */
.intro {
	text-align: center;
	padding: 90px 0 30px;
	background: var(--white);
}
.intro h2 {
	margin-bottom: 18px;
	max-width: 720px;
	margin-left: auto; margin-right: auto;
}
.intro h2 .accent { color: var(--violet); }
.intro p { max-width: 620px; margin: 0 auto; }

.chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	padding: 40px 32px 80px;
	max-width: 1240px;
	margin: 0 auto;
}
.chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px 10px 10px;
	background: var(--white);
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--ink);
	font-weight: 500;
	font-size: 14px;
	transition: all 0.2s;
}
.chip:hover {
	border-color: var(--violet);
	color: var(--violet);
	transform: translateY(-2px);
}
.chip .n {
	width: 26px; height: 26px;
	background: var(--violet);
	color: var(--white);
	border-radius: 8px;
	display: grid; place-items: center;
	font-size: 12px;
	font-weight: 700;
}
.chip:hover .n { background: var(--lime); color: var(--ink); }

/* ───── STEPS ───── */
.step {
	padding: 90px 0;
	border-top: 1px solid var(--line);
	background: var(--white);
}
.step:nth-of-type(even) { background: var(--soft); }
.step-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: center;
}
.step-grid.reverse { direction: rtl; }
.step-grid.reverse > * { direction: ltr; }

.step-meta {
	display: inline-flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 18px;
}
.step-num {
	font-size: 64px;
	font-weight: 700;
	line-height: 1;
	color: var(--violet);
	letter-spacing: -0.04em;
}
.step-tag {
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--lime);
}
.step h2 {
	font-size: var(--t-40);
	margin-bottom: 20px;
	color: var(--ink);
	max-width: 480px;
}
.step p.lede {
	font-size: 17px;
	color: var(--body);
	margin-bottom: 28px;
	max-width: 520px;
}

/* Checklist */
.checklist {
	list-style: none;
	margin: 0 0 28px;
}
.checklist li {
	display: flex;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	align-items: flex-start;
}
.checklist li:last-child { border-bottom: none; }
.check-icon {
	flex-shrink: 0;
	width: 28px; height: 28px;
	background: var(--lime);
	border-radius: 8px;
	display: grid; place-items: center;
	margin-top: 2px;
}
.check-icon svg { width: 16px; height: 16px; }
.checklist .ct strong {
	display: block;
	color: var(--ink);
	font-weight: 600;
	font-size: var(--t-16);
	margin-bottom: 4px;
}
.checklist .ct span {
	font-size: 15px;
	color: var(--body);
	line-height: 1.55;
}

/* Callouts */
.callout {
	margin-top: 24px;
	padding: 20px 22px;
	border-radius: var(--radius);
	display: flex;
	gap: 16px;
	align-items: flex-start;
	font-size: 15px;
	line-height: 1.55;
}
.callout-info {
	background: var(--gray-bg);
	color: var(--body);
}
.callout-warn {
	background: rgba(85, 38, 255, 0.06);
	border: 1.5px solid var(--violet);
	color: var(--body);
}
.callout-tip {
	background: rgba(170, 209, 0, 0.12);
	border: 1.5px solid var(--lime);
	color: var(--body);
}
.callout-icon {
	flex-shrink: 0;
	width: 36px; height: 36px;
	border-radius: 10px;
	display: grid; place-items: center;
	font-size: 18px;
	color: var(--white);
}
.callout-warn .callout-icon { background: var(--violet); }
.callout-tip .callout-icon  { background: var(--lime); color: var(--ink); }
.callout-info .callout-icon { background: var(--ink); }
.callout strong { color: var(--ink); display: block; margin-bottom: 4px; font-weight: 600; }

/* Visual cards (mockups) */
.mock {
	background: var(--white);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: 0 30px 60px -20px rgba(20, 20, 40, 0.15),
							0 8px 20px -10px rgba(20, 20, 40, 0.08);
	border: 1px solid var(--line);
	position: relative;
}
.step:nth-of-type(even) .mock { background: var(--white); }
.mock svg { width: 100%; height: auto; display: block; }

.mock-tag {
	position: absolute;
	top: -14px; right: 22px;
	background: var(--lime);
	color: var(--ink);
	padding: 6px 14px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.mock-tag.violet { background: var(--violet); color: var(--white); }

/* Status tiles (paso 5) */
.status-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 14px;
	margin: 24px 0 28px;
}
.status-tile {
	background: var(--white);
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	padding: 18px;
}
.status-tile .dot {
	width: 10px; height: 10px;
	border-radius: 50%;
	display: inline-block;
	margin-right: 8px;
	vertical-align: middle;
}
.status-tile.creado    .dot { background: var(--lime); }
.status-tile.confirmado .dot { background: var(--violet); }
.status-tile.entregado .dot { background: var(--ink); }
.status-tile h4 {
	font-size: var(--t-16);
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 6px;
	display: inline-flex; align-items: center;
}
.status-tile p { font-size: 14px; color: var(--body); }

/* Banner (between steps) */
.banner {
	margin: 0;
	padding: 100px 32px;
	background: var(--violet);
	color: var(--white);
	text-align: center;
	position: relative;
	overflow: hidden;
}
.banner::before {
	content: "";
	position: absolute;
	width: 320px; height: 320px;
	background: var(--lime);
	border-radius: var(--radius);
	top: -160px; right: -120px;
	opacity: 0.95;
}
.banner::after {
	content: "";
	position: absolute;
	width: 200px; height: 200px;
	background: var(--white);
	border-radius: var(--radius);
	bottom: -100px; left: -80px;
	opacity: 0.08;
}
.banner-inner {
	position: relative;
	z-index: 2;
	max-width: 720px;
	margin: 0 auto;
}
.banner h2 {
	color: var(--white);
	font-size: clamp(36px, 5vw, 56px);
	margin-bottom: 14px;
}
.banner h2 .accent { color: var(--lime); }
.banner p { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 520px; margin: 0 auto; }

/* Footer / CTA final */
.final-cta {
	padding: 100px 32px;
	background: var(--gray-bg);
	text-align: center;
}
.final-cta h2 {
	font-size: var(--t-40);
	margin-bottom: 14px;
	color: var(--ink);
}
.final-cta h2 .accent { color: var(--violet); }
.final-cta p {
	max-width: 560px;
	margin: 0 auto 30px;
	color: var(--body);
}
.final-cta .btn-group {
	display: inline-flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
}
/*
footer.foot {
	background: var(--ink);
	color: rgba(255,255,255,0.7);
	padding: 50px 32px 30px;
	text-align: center;
	font-size: 14px;
}
footer.foot strong { color: var(--white); font-weight: 600; }
footer.foot .legal { margin-top: 10px; opacity: 0.5; font-size: 12px; }

/* Responsive */
@media (max-width: 900px) {
	.hero-grid,
	.step-grid { grid-template-columns: 1fr; gap: 50px; }
	.step-grid.reverse { direction: ltr; }
	.hero-visual { min-height: 360px; }
	.hero-cup { width: 220px; }
	.topnav-links { display: none; }
	.step { padding: 70px 0; }
	.step h2 { font-size: 32px; }
}

/* Accessibility focus */
a:focus-visible, .btn:focus-visible, .chip:focus-visible {
	outline: 3px solid var(--lime);
	outline-offset: 3px;
}

/* ───── Botón flotante: descargar / imprimir ───── */
.download-fab {
	position: fixed;
	bottom: 28px;
	right: 28px;
	z-index: 100;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--violet);
	color: var(--white);
	padding: 14px 22px;
	border-radius: 100px;
	font-family: 'Work Sans', sans-serif;
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
	border: none;
	box-shadow: 0 12px 28px rgba(85, 38, 255, 0.35);
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
}
.download-fab:hover {
	background: #4a1de6;
	transform: translateY(-2px);
	box-shadow: 0 16px 36px rgba(85, 38, 255, 0.45);
}
.download-fab svg {
	width: 18px; height: 18px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (max-width: 600px) {
	.download-fab {
		bottom: 16px;
		right: 16px;
		padding: 12px 18px;
		font-size: 13px;
	}
}

/* ───── Estilos de impresión / Guardar como PDF ───── */
@media print {
	@page {
		size: A4;
		margin: 18mm 14mm;
	}
	html, body {
		background: #ffffff !important;
		color: var(--ink) !important;
		font-size: 11pt;
		line-height: 1.5;
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
	}
	/* Ocultar lo que no debe imprimirse */
	.topnav,
	.download-fab,
	.hero-ctas,
	.chips,
	.final-cta .btn-group,
	.topnav-links {
		display: none !important;
	}
	/* Hero más compacto */
	.hero { padding: 0 0 24px; }
	.hero-grid {
		grid-template-columns: 1.2fr 1fr;
		gap: 24px;
	}
	.hero h1 { font-size: 32pt; }
	.hero p.lead { font-size: 11pt; }
	.hero-visual { min-height: 280px; }
	.hero-cup { width: 180px; }

	/* Cada paso inicia en página nueva */
	.step {
		page-break-before: always;
		break-before: page;
		padding: 0 !important;
		border-top: none !important;
		background: #ffffff !important;
	}
	.step:first-of-type {
		page-break-before: auto;
		break-before: auto;
	}
	.step-grid,
	.step-grid.reverse {
		direction: ltr;
		grid-template-columns: 1.1fr 1fr;
		gap: 28px;
	}
	.step h2 { font-size: 24pt; }
	.step p.lede { font-size: 11pt; }
	.big-num, .step-num { font-size: 44pt; }

	/* Banner e intro compactos */
	.intro { padding: 24px 0 0; }
	.banner {
		page-break-before: always;
		break-before: page;
		padding: 40px 24px;
	}
	.final-cta {
		page-break-before: always;
		break-before: page;
		padding: 40px 24px;
	}

	/* Evitar cortes feos */
	.mock,
	.callout,
	.status-tile,
	.checklist li {
		page-break-inside: avoid;
		break-inside: avoid;
	}

	/* Contenedores a todo el ancho disponible */
	.container { max-width: 100%; padding: 0; }

	/* Tarjetas con menos sombra para impresión */
	.mock {
		box-shadow: none !important;
		border: 1px solid var(--line);
	}

	a { color: var(--ink); text-decoration: none; }
	a[href^="http"]:after {
		content: " (" attr(href) ")";
		font-size: 9pt;
		color: var(--body);
		font-weight: 400;
	}
	a[href^="#"]:after { content: ""; }

	footer.foot {
		background: #ffffff !important;
		color: var(--body) !important;
		border-top: 1px solid var(--line);
		padding: 18px 0 0;
	}
	footer.foot strong { color: var(--ink) !important; }
}

