/* Landing de Klaky. Colores y medidas del diseño v2 del canvas "Klaky — Landing y logo". */

:root {
	color-scheme: light;
	--primario: #3346d3;
	--primario-hover: #2a3bc0;
	--primario-suave: #eef0ff;
	--primario-tinta: #2a37a8;
	--primario-claro: #e6e9ff;
	--durazno: #ff9f6e;
	--durazno-hover: #ff8f57;
	--durazno-suave: #ffe3d3;
	--durazno-tinta: #7a3410;
	--durazno-oscuro: #3a1a08;
	--tinta: #111827;
	--texto-2: #4b5563;
	--borde: #e2e5ee;
	--borde-fuerte: #c3c8d6;
	--borde-campo: #8a92a6;
	--fondo: #ffffff;
	--fondo-2: #f6f7fb;
	--noche: #0e1018;
	--noche-2: #1a1d29;
	--noche-3: #232738;
	--noche-linea: #34394c;
	--noche-texto: #f3f4f8;
	--noche-texto-2: #a9aec2;
	--lila: #8c9bff;
	--error: #b42318;
	--sombra: 0 12px 32px rgba(17, 24, 39, 0.14);
	--fuente: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--lateral: clamp(20px, 4vw, 40px);
	--seccion: clamp(40px, 7vw, 96px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--fondo);
	color: var(--tinta);
	font-family: var(--fuente);
	font-size: 17px;
	line-height: 1.55;
}

h1,
h2,
h3,
p {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

img,
svg {
	display: block;
	max-width: 100%;
}

button,
input {
	font: inherit;
}

a {
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--primario);
	outline-offset: 2px;
}

.seccion--noche :focus-visible,
.cierre :focus-visible {
	outline-color: #ffffff;
}

[hidden] {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* ---------- Modo (config.js) y cupos fundadores ---------- */

html[data-modo='espera'] .solo-lanzamiento,
html[data-modo='lanzamiento'] .solo-espera,
html[data-cupos='agotados'] .si-cupos,
html:not([data-cupos='agotados']) .sin-cupos,
html:not([data-cupos='todos']) .cupos-todos,
html:not([data-cupos='quedan']) .cupos-quedan,
html[data-modo='lanzamiento'][data-cupos='agotados'] .cupos {
	display: none !important;
}

/* ---------- Piezas comunes ---------- */

.contenedor {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--lateral);
}

.visualmente-oculto,
.trampa {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.seccion {
	padding: var(--seccion) 0;
}

.seccion--gris {
	background: var(--fondo-2);
}

.seccion--noche {
	background: var(--noche);
	color: var(--noche-texto);
}

.columna {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.encabezado {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 760px;
}

.etiqueta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--primario);
}

.etiqueta::before {
	content: '';
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--durazno);
}

.etiqueta--lila {
	color: var(--lila);
}

.etiqueta--durazno {
	color: var(--durazno-tinta);
}

.etiqueta--durazno::before {
	background: var(--primario);
}

.titulo-2 {
	font-size: clamp(30px, 3.6vw, 48px);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.bajada {
	color: var(--texto-2);
}

.seccion--noche .bajada {
	color: var(--noche-texto-2);
}

.enlace {
	color: var(--primario);
	font-weight: 600;
}

.nota {
	font-size: 13px;
	color: var(--texto-2);
}

.legal-mini {
	font-size: 13px;
	color: var(--texto-2);
}

.legal-mini a {
	color: var(--primario);
	font-weight: 600;
}

.punto-vivo {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--durazno);
	box-shadow: 0 0 0 3px var(--durazno-suave);
}

.icono {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

/* ---------- Botones ---------- */

.boton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	background: var(--primario);
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.boton:hover {
	background: var(--primario-hover);
}

.boton:disabled {
	opacity: 0.65;
	cursor: progress;
}

.boton--oscuro {
	min-height: 44px;
	padding: 0 18px;
	background: var(--tinta);
	font-size: 15px;
	font-weight: 600;
}

.boton--oscuro:hover {
	background: #000000;
}

.boton--borde {
	align-self: flex-start;
	border: 2px solid var(--primario);
	background: transparent;
	color: var(--primario);
}

.boton--borde:hover {
	background: var(--primario-suave);
}

.boton--durazno {
	background: var(--durazno);
	color: var(--durazno-oscuro);
}

.boton--durazno:hover {
	background: var(--durazno-hover);
}

.boton--blanco {
	background: #ffffff;
	color: var(--primario);
}

.boton--blanco:hover {
	background: var(--primario-suave);
}

.boton--grande {
	min-height: 56px;
	padding: 0 24px;
	border-radius: 14px;
	font-size: 17px;
}

.boton--ancho {
	width: 100%;
}

/* ---------- Cabecera y pie ---------- */

.cabecera {
	background: #ffffff;
	border-bottom: 1px solid var(--borde);
}

.cabecera__fila {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 14px;
}

.marca {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--tinta);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.03em;
	text-decoration: none;
}

.marca img {
	width: 34px;
	height: 34px;
}

.pie {
	background: #ffffff;
}

.pie__fila {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding-block: 32px;
}

.pie__marca {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pie__marca img {
	width: 32px;
	height: 32px;
}

.pie__nombre {
	display: block;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.pie__lema,
.pie__copy {
	font-size: 14px;
	color: var(--texto-2);
}

.pie nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}

.pie nav a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--texto-2);
	font-size: 15px;
}

/* ---------- Formularios de la lista ---------- */

.form-lista {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 540px;
}

.form-lista__label {
	font-size: 14px;
	font-weight: 600;
}

.form-lista__campo {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 6px;
	border: 1px solid var(--borde-campo);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.form-lista__campo:focus-within {
	border-color: var(--primario);
	box-shadow: 0 0 0 3px var(--primario-suave);
}

.form-lista__campo input {
	flex: 1 1 220px;
	min-width: 0;
	height: 48px;
	padding: 0 12px;
	border: 0;
	border-radius: 10px;
	background: #ffffff;
	color: var(--tinta);
	font-size: 16px;
}

.form-lista__campo input:focus-visible {
	outline: none;
}

.form-lista__campo .boton {
	flex: 1 1 200px;
}

.mensaje {
	font-size: 14px;
	font-weight: 600;
	color: var(--error);
}

.mensaje:empty {
	display: none;
}

.cupos {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
}

.cupos__fila {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 16px;
}

.cupos__texto {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
}

.cupos__texto strong {
	color: var(--primario);
}

.puntos {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.puntos span {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--borde);
}

.puntos .lleno {
	background: var(--primario);
}

.checks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: 15px;
	font-weight: 500;
}

.checks li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.checks .icono {
	color: var(--primario);
}

/* ---------- Hero ---------- */

.hero {
	padding: clamp(32px, 7vw, 96px) 0 clamp(40px, 7vw, 96px);
	overflow: hidden;
}

.hero__fila {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
}

.hero__texto {
	flex: 999 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.pastilla {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 14px 7px 10px;
	border-radius: 999px;
	background: var(--primario-suave);
	color: var(--primario-tinta);
	font-size: 14px;
	font-weight: 600;
}

.pastilla .punto-vivo {
	width: 10px;
	height: 10px;
	box-shadow: 0 0 0 4px var(--durazno-suave);
}

.hero__titulo {
	font-size: clamp(40px, 6vw, 76px);
	line-height: 1.03;
	font-weight: 700;
	letter-spacing: -0.035em;
}

.acento {
	color: var(--primario);
}

.hero__bajada {
	max-width: 540px;
	font-size: clamp(17px, 1.5vw, 20px);
	color: var(--texto-2);
}

.hero__descarga {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 540px;
}

.hero__descarga .boton {
	align-self: flex-start;
}

.hero__visual {
	flex: 1 1 340px;
	display: flex;
	justify-content: center;
}

/* Maquetas de la pantalla de grabación. Son dibujos: todo es absoluto dentro de su caja. */

.escena {
	position: relative;
	width: 100%;
	max-width: 460px;
	height: 560px;
}

.escena > *,
.pantalla > * {
	position: absolute;
}

.escena__fondo {
	left: 0;
	right: 0;
	bottom: 0;
	height: 430px;
	border-radius: 32px;
	background: var(--primario);
}

.escena__sol {
	top: 92px;
	right: 10px;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--durazno);
}

.telefono {
	top: 0;
	left: 50%;
	width: 260px;
	height: 540px;
	margin-left: -130px;
	padding: 9px;
	border-radius: 40px;
	background: var(--tinta);
	box-shadow: 0 24px 48px rgba(17, 24, 39, 0.28);
}

.pantalla {
	position: relative;
	height: 100%;
	border-radius: 31px;
	background: var(--noche-3);
	overflow: hidden;
}

.tercio {
	background: var(--noche-linea);
}

.tercio--v1,
.tercio--v2 {
	top: 0;
	bottom: 0;
	width: 1px;
}

.tercio--v1 {
	left: 33.33%;
}

.tercio--v2 {
	left: 66.66%;
}

.tercio--h1,
.tercio--h2 {
	left: 0;
	right: 0;
	height: 1px;
}

.tercio--h1 {
	top: 33.33%;
}

.tercio--h2 {
	top: 66.66%;
}

.redondo {
	border-radius: 50%;
}

.plato {
	top: 196px;
	left: 50%;
	width: 168px;
	height: 168px;
	margin-left: -84px;
	background: #e9ebf2;
}

.comida {
	top: 224px;
	left: 50%;
	width: 112px;
	height: 112px;
	margin-left: -56px;
	background: var(--durazno);
}

.bocado {
	width: 22px;
	height: 22px;
	background: #ffd3ba;
}

.bocado--1 {
	top: 248px;
	left: calc(50% - 30px);
}

.bocado--2 {
	top: 284px;
	left: calc(50% + 4px);
}

.hoja {
	top: 266px;
	left: calc(50% + 18px);
	width: 10px;
	height: 10px;
	background: var(--lila);
}

.marco {
	top: 182px;
	left: 50%;
	width: 196px;
	height: 196px;
	margin-left: -98px;
	border: 2px dashed var(--lila);
	border-radius: 28px;
}

.prompter {
	top: 12px;
	left: 10px;
	right: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--noche);
	color: var(--noche-texto);
	font-size: 13px;
	line-height: 1.45;
}

.prompter span {
	color: var(--lila);
}

.burbuja-aro {
	top: 112px;
	left: 50%;
	width: 36px;
	height: 36px;
	margin-left: -18px;
	border: 2px solid var(--lila);
}

.burbuja {
	top: 124px;
	left: 50%;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	background: var(--noche-texto);
}

.barra {
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 14px 18px;
	background: var(--noche);
	color: var(--noche-texto);
	font-size: 12px;
	font-weight: 600;
}

.barra__lado {
	width: 72px;
}

.barra__lado--derecha {
	text-align: right;
}

.barra__tiempo {
	white-space: nowrap;
	padding: 4px 8px;
	border-radius: 8px;
	background: var(--noche-2);
}

.grabar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border: 3px solid var(--noche-texto);
	border-radius: 50%;
}

.grabar::after {
	content: '';
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--durazno);
}

.flotante {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px 10px 10px;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: var(--sombra);
	font-size: 14px;
	font-weight: 700;
}

.flotante--escena {
	top: 150px;
	left: 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 10px 14px;
}

.flotante--escena small {
	font-size: 12px;
	font-weight: 600;
	color: var(--texto-2);
}

.flotante--nivel {
	top: 312px;
	right: 0;
}

.flotante--tiempo {
	bottom: 56px;
	left: 6px;
}

.flotante__icono {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--primario-suave);
	color: var(--primario);
}

.flotante--tiempo .flotante__icono {
	background: var(--durazno-suave);
	color: var(--durazno-tinta);
}

.flotante__icono svg {
	width: 16px;
	height: 16px;
}

/* ---------- 01 · Por qué Klaky ---------- */

.porque__fila {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px;
}

.porque__visual {
	flex: 1 1 300px;
	display: flex;
	justify-content: center;
}

.porque__texto {
	flex: 999 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.porque__texto .encabezado {
	max-width: 620px;
}

.telefono--medio {
	position: relative;
	top: auto;
	left: auto;
	width: 270px;
	height: 560px;
	margin: 0;
	background: #2a2f40;
	box-shadow:
		0 0 0 1px var(--noche-linea),
		0 24px 60px rgba(0, 0, 0, 0.5);
}

.telefono--medio .pantalla {
	background: var(--noche-2);
}

.telefono--medio .tercio {
	background: #2a2f40;
}

.cabeza {
	top: 168px;
	left: 50%;
	width: 76px;
	height: 88px;
	margin-left: -38px;
	border-radius: 50%;
	background: #3a3f52;
}

.cuerpo {
	top: 264px;
	bottom: 0;
	left: 50%;
	width: 176px;
	margin-left: -88px;
	border-radius: 88px 88px 0 0;
	background: #3a3f52;
}

.silueta-cabeza {
	top: 160px;
	left: 50%;
	width: 92px;
	height: 104px;
	margin-left: -46px;
	border: 2px dashed var(--lila);
	border-radius: 50%;
}

.silueta-cuerpo {
	top: 256px;
	bottom: 0;
	left: 50%;
	width: 204px;
	margin-left: -102px;
	border: 2px dashed var(--lila);
	border-bottom: 0;
	border-radius: 100px 100px 0 0;
}

.telefono--medio .prompter {
	top: 14px;
	left: 12px;
	right: 12px;
}

.nivel {
	top: 132px;
	left: 50%;
	width: 120px;
	height: 2px;
	margin-left: -60px;
	background: var(--lila);
}

.telefono--medio .burbuja {
	top: 127px;
}

.telefono--medio .barra {
	padding: 14px 16px 20px;
	background: rgba(14, 16, 24, 0.82);
}

.telefono--medio .barra__lado {
	width: 76px;
}

.telefono--medio .barra__tiempo {
	background: #2a2f40;
}

.telefono--medio .grabar {
	width: 60px;
	height: 60px;
}

.telefono--medio .grabar::after {
	width: 44px;
	height: 44px;
}

.marcador,
.numero {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--durazno);
	color: var(--durazno-oscuro);
	font-weight: 700;
}

.marcador {
	width: 24px;
	height: 24px;
	font-size: 12px;
}

.marcador--1 {
	top: 168px;
	left: 24px;
}

.marcador--2 {
	top: 121px;
	left: 20px;
}

.marcador--3 {
	top: 84px;
	right: 14px;
}

.marcador--4 {
	bottom: 86px;
	left: 16px;
}

.ayudas {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 28px;
	max-width: 660px;
}

.ayudas li {
	flex: 1 1 260px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.numero {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	font-size: 14px;
}

.ayudas__texto {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ayudas__pregunta {
	font-size: 14px;
	font-weight: 600;
	color: var(--durazno);
}

.ayudas h3 {
	font-size: 17px;
	font-weight: 700;
}

.ayudas p {
	font-size: 15px;
	line-height: 1.5;
	color: var(--noche-texto-2);
}

/* ---------- 02 · Cómo funciona ---------- */

.pasos {
	display: flex;
	gap: 20px;
	padding-bottom: 8px;
	overflow-x: auto;
}

.pasos > li {
	flex: 1 0 255px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.paso__visual {
	display: flex;
	justify-content: center;
	height: 250px;
	padding: 22px 22px 0;
	border-radius: 24px;
	background: var(--primario-suave);
	overflow: hidden;
}

.paso__visual--durazno {
	background: var(--durazno-suave);
}

.paso__visual--gris {
	background: #e6e9f5;
}

.tarjeta-app {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	max-width: 260px;
	padding: 16px;
	border: 1px solid var(--borde);
	border-bottom: 0;
	border-radius: 20px 20px 0 0;
	background: #ffffff;
	font-size: 13px;
	line-height: 1.35;
}

.paso__visual--durazno .tarjeta-app {
	border-color: #f1d2c0;
	line-height: 1.4;
}

.tarjeta-app__titulo {
	font-size: 15px;
	font-weight: 700;
}

.tarjeta-app__rotulo {
	font-size: 12px;
	font-weight: 600;
	color: var(--texto-2);
}

.campo-app {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.chips-app {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.chip-app,
.valor-app {
	border: 1px solid var(--borde);
	background: var(--fondo-2);
}

.chip-app {
	padding: 5px 10px;
	border-radius: 8px;
}

.chip-app--activo {
	border-color: var(--primario);
	background: var(--primario);
	color: #ffffff;
	font-weight: 600;
}

.valor-app {
	padding: 9px 10px;
	border-radius: 10px;
}

.opcion-app {
	padding: 10px;
	border: 1px solid var(--borde);
	border-radius: 12px;
}

.opcion-app--elegida {
	border: 2px solid var(--primario);
	background: var(--primario-suave);
}

.falta {
	padding: 1px 4px;
	border-radius: 4px;
	background: var(--durazno-suave);
	color: var(--durazno-tinta);
	font-weight: 600;
}

.progreso {
	display: flex;
	gap: 4px;
}

.progreso span {
	flex: 1;
	height: 4px;
	border-radius: 2px;
	background: var(--borde);
}

.progreso .hecho {
	background: var(--primario);
}

.escena-app {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 10px;
}

.escena-app span:nth-child(2) {
	flex: 1;
}

.escena-app span:last-child {
	color: var(--texto-2);
}

.escena-app--hecha {
	background: var(--fondo-2);
}

.escena-app--actual {
	border: 1px solid #c9cff5;
	background: var(--primario-suave);
	font-weight: 700;
}

.estado-app {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid var(--borde-fuerte);
}

.estado-app--hecho {
	border: 0;
	background: var(--primario);
	color: #ffffff;
}

.estado-app--hecho svg {
	width: 11px;
	height: 11px;
}

.estado-app--actual {
	border-color: var(--durazno);
}

.estado-app--actual::after {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--durazno);
}

.paso__texto {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.paso__numero {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: var(--primario);
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
}

.paso__texto h3 {
	font-size: 19px;
	font-weight: 700;
}

.paso__texto p {
	margin-top: 4px;
	font-size: 16px;
	color: var(--texto-2);
}

/* ---------- 03 · Ejemplos ---------- */

.columna--ejemplos {
	gap: 24px;
}

.rubros {
	display: flex;
	gap: 8px;
	padding-bottom: 4px;
	overflow-x: auto;
}

.rubro-boton {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--borde-fuerte);
	border-radius: 999px;
	background: #ffffff;
	color: var(--tinta);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.rubro-boton[aria-pressed='true'] {
	border-color: var(--primario);
	background: var(--primario);
	color: #ffffff;
}

.ejemplo {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--borde);
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.ejemplo__guion {
	flex: 999 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ejemplo__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	font-size: 13px;
	color: var(--texto-2);
}

.sello {
	padding: 5px 10px;
	border-radius: 8px;
	background: var(--primario-suave);
	color: var(--primario-tinta);
	font-size: 13px;
	font-weight: 700;
}

.parte {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.parte__rotulo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--durazno-tinta);
}

.parte__rotulo::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--durazno);
}

.parte__rotulo--cierre {
	color: var(--primario);
}

.parte__rotulo--cierre::before {
	background: var(--primario);
}

.parte__gancho {
	font-size: clamp(21px, 2.2vw, 28px);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.015em;
}

.parte__cierre {
	font-size: 18px;
	line-height: 1.4;
	font-weight: 600;
}

.ejemplo__escenas {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ejemplo__escenas h3 {
	font-size: 13px;
	font-weight: 700;
	color: var(--texto-2);
}

.lista-escenas {
	display: flex;
	flex-direction: column;
	gap: 6px;
	counter-reset: escena;
}

.lista-escenas li {
	counter-increment: escena;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 10px;
	background: var(--fondo-2);
	font-size: 14px;
}

.lista-escenas li::before {
	content: counter(escena);
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #d5daee;
	color: var(--tinta);
	font-size: 12px;
	font-weight: 700;
}

.lista-escenas li:first-child::before {
	background: var(--durazno);
	color: var(--durazno-oscuro);
}

.lista-escenas li:last-child::before {
	background: var(--primario);
	color: #ffffff;
}

/* ---------- 04 · Formatos ---------- */

.formatos {
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(2, auto);
	grid-auto-columns: minmax(300px, 1fr);
	gap: 16px;
	padding-bottom: 8px;
	overflow-x: auto;
}

.formato {
	display: flex;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--borde);
	border-radius: 20px;
	background: #ffffff;
}

.formato__texto {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.formato__tipo {
	font-size: 12px;
	font-weight: 600;
	color: var(--texto-2);
}

.formato h3 {
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
}

.formato p {
	font-size: 14px;
	line-height: 1.45;
	color: var(--texto-2);
}

.miniatura {
	position: relative;
	flex: 0 0 auto;
	display: flex;
	width: 84px;
	height: 112px;
	border-radius: 12px;
	overflow: hidden;
}

.miniatura--producto {
	align-items: center;
	justify-content: center;
	background: var(--primario-suave);
}

.miniatura--producto span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #ffffff;
}

.miniatura--producto span::after {
	content: '';
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--durazno);
}

.miniatura--antes span {
	flex: 1;
	background: #d5daee;
}

.miniatura--antes span + span {
	margin-left: 3px;
	background: var(--durazno-suave);
}

.miniatura--lista {
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	padding: 0 14px;
	background: var(--durazno-suave);
}

.miniatura--lista span {
	display: flex;
	align-items: center;
	gap: 6px;
}

.miniatura--lista span::before {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--primario);
}

.miniatura--lista span::after {
	content: '';
	flex: 1;
	height: 8px;
	border-radius: 4px;
	background: #ffffff;
}

.miniatura--detras {
	background: var(--noche-2);
}

.miniatura--detras span {
	position: absolute;
}

.miniatura--detras .piso {
	left: 0;
	right: 0;
	bottom: 0;
	height: 34px;
	background: #3a3f52;
}

.miniatura--detras .mano {
	width: 26px;
	height: 16px;
	border-radius: 8px;
	background: var(--durazno);
}

.miniatura--detras .mano--1 {
	bottom: 26px;
	left: 14px;
}

.miniatura--detras .mano--2 {
	bottom: 30px;
	right: 14px;
}

.miniatura--detras .luz {
	top: 18px;
	left: calc(50% - 5px);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--lila);
}

.miniatura--pregunta {
	align-items: center;
	justify-content: center;
	background: var(--primario);
	color: #ffffff;
	font-size: 44px;
	font-weight: 700;
}

.miniatura--testimonio {
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 0 14px;
	background: var(--primario-suave);
	color: var(--primario);
	font-size: 44px;
	line-height: 0.8;
	font-weight: 700;
}

.miniatura--testimonio span {
	height: 7px;
	border-radius: 4px;
	background: #ffffff;
}

.miniatura--testimonio span + span {
	width: 70%;
}

/* ---------- 05 · Quiénes somos ---------- */

.seccion--equipo {
	padding: 0 0 var(--seccion);
}

.equipo {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px;
	padding: clamp(24px, 4vw, 56px);
	border-radius: 32px;
	background: var(--durazno-suave);
}

.equipo__texto {
	flex: 999 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.equipo__texto .bajada {
	max-width: 560px;
}

.contactos {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.contacto {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 12px;
	background: #ffffff;
	color: var(--tinta);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.etapa {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 24px;
	border-radius: 20px;
	background: #ffffff;
}

.etapa__cabeza {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.etapa__cabeza h3 {
	font-size: 18px;
	font-weight: 700;
}

.etapa__sello {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--primario-suave);
	color: var(--primario-tinta);
	font-size: 13px;
	font-weight: 600;
}

.etapa__grupo {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.etapa__grupo h4 {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--texto-2);
}

.etapa ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 15px;
	line-height: 1.45;
}

.etapa li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.etapa .icono {
	margin-top: 2px;
	color: var(--primario);
}

.pronto {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	border: 2px solid var(--durazno);
	border-radius: 50%;
}

.pronto::after {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--durazno);
}

.separador {
	height: 1px;
	background: var(--borde);
}

/* ---------- 06 · Preguntas ---------- */

.preguntas {
	display: flex;
	flex-wrap: wrap;
	gap: 28px 64px;
}

.preguntas__intro {
	flex: 1 1 280px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.preguntas__lista {
	flex: 999 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pregunta {
	padding: 0 20px;
	border: 1px solid var(--borde);
	border-radius: 16px;
	background: #ffffff;
}

.pregunta summary {
	padding: 18px 0;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
}

.pregunta p {
	margin: 0 0 18px;
	color: var(--texto-2);
}

/* ---------- Cierre ---------- */

.cierre {
	position: relative;
	overflow: hidden;
	padding: clamp(48px, 8vw, 112px) 0;
	background: var(--primario);
	color: #ffffff;
}

.cierre::before,
.cierre::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.cierre::before {
	top: -120px;
	right: -100px;
	width: 360px;
	height: 360px;
	border: 2px solid rgba(255, 255, 255, 0.18);
}

.cierre::after {
	bottom: -140px;
	left: -80px;
	width: 300px;
	height: 300px;
	border: 2px solid rgba(255, 255, 255, 0.14);
}

.cierre__contenido {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	max-width: 640px;
	margin: 0 auto;
	padding: 0 var(--lateral);
	text-align: center;
}

.cierre h2 {
	font-size: clamp(34px, 4.6vw, 60px);
	line-height: 1.05;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.cierre__bajada {
	max-width: 520px;
	font-size: 18px;
	color: var(--primario-claro);
}

.cierre .cupos {
	align-items: center;
	width: 100%;
	max-width: 440px;
	gap: 10px;
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}

.cierre .cupos strong {
	font-size: 20px;
}

.cierre .puntos {
	justify-content: center;
	gap: 8px;
}

.cierre .puntos span {
	width: 16px;
	height: 16px;
	background: rgba(255, 255, 255, 0.25);
}

.cierre .puntos .lleno {
	background: var(--durazno);
}

.form-cierre {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin-top: 8px;
	text-align: left;
}

.form-cierre label {
	font-size: 14px;
	font-weight: 600;
}

.form-cierre__campo {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.form-cierre input {
	flex: 1 1 240px;
	min-width: 0;
	height: 56px;
	padding: 0 16px;
	border: 1px solid #ffffff;
	border-radius: 14px;
	background: #ffffff;
	color: var(--tinta);
	font-size: 16px;
}

.form-cierre .boton {
	flex: 1 1 220px;
	min-height: 56px;
	border-radius: 14px;
	font-size: 17px;
}

.cierre .mensaje {
	padding: 10px 14px;
	border-radius: 12px;
	background: #ffffff;
}

.cierre .legal-mini,
.cierre .nota {
	color: var(--primario-claro);
	font-size: 14px;
}

.cierre .legal-mini a {
	color: #ffffff;
}

.form-iphone {
	margin-top: 24px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}

/* ---------- Botón fijo en el celular ---------- */

.fijo {
	display: none;
}

@media (max-width: 720px) {
	.fijo {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 10;
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--borde);
		background: #ffffff;
		box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.1);
		transform: translateY(110%);
		visibility: hidden;
		transition:
			transform 0.25s ease,
			visibility 0.25s;
	}

	.fijo.visible {
		transform: none;
		visibility: visible;
	}

	.fijo__cupos {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		font-size: 13px;
		font-weight: 600;
	}

	.fijo .boton {
		min-height: 52px;
		border-radius: 14px;
	}

	.pie {
		padding-bottom: 96px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fijo {
		transition: none;
	}
}

/* ---------- Página de gracias ---------- */

.fondo-gris {
	min-height: 100vh;
	background: var(--fondo-2);
}

.angosto {
	max-width: 560px;
	margin: 0 auto;
	padding: 0 20px;
}

.cabecera-simple {
	padding-block: 16px;
}

.cabecera-simple .marca {
	font-size: 20px;
}

.cabecera-simple .marca img {
	width: 32px;
	height: 32px;
}

.gracias {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 8px;
	padding-bottom: 48px;
}

.gracias__hola {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 16px 0 8px;
	text-align: center;
}

.gracias__hola h1 {
	margin-top: 8px;
	font-size: 30px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.gracias__hola p {
	max-width: 420px;
	color: var(--texto-2);
}

.tilde {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--primario);
	color: #ffffff;
	box-shadow: 0 0 0 8px var(--primario-suave);
}

.pildora {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--durazno-suave);
	color: var(--durazno-tinta);
	font-size: 14px;
	font-weight: 600;
}

.tarjeta {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
	border: 1px solid var(--borde);
	border-radius: 20px;
	background: #ffffff;
}

.tarjeta--destacada {
	gap: 18px;
	padding: 22px 20px;
	border: 2px solid var(--primario);
}

.tarjeta h2 {
	font-size: 18px;
	font-weight: 700;
}

.tarjeta--destacada h2 {
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.tarjeta__cabeza {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tarjeta__bajada {
	font-size: 14px;
	color: var(--texto-2);
}

.tarjeta--destacada .tarjeta__bajada {
	font-size: 15px;
}

.tarjeta fieldset {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.tarjeta legend {
	padding: 0;
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: 700;
}

.bloque {
	padding-top: 14px;
	border-top: 1px solid var(--borde);
}

.opciones {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.opcion {
	position: relative;
}

.opcion input {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.opcion span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--borde-fuerte);
	border-radius: 999px;
	background: #ffffff;
	color: var(--tinta);
	font-size: 15px;
	font-weight: 600;
}

.opcion input:checked + span {
	border-color: var(--primario);
	background: var(--primario);
	color: #ffffff;
}

.opcion input:focus-visible + span {
	outline: 3px solid var(--primario);
	outline-offset: 2px;
}

.campo {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.campo label {
	font-size: 13px;
	font-weight: 600;
	color: var(--texto-2);
}

.campo input {
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--borde-campo);
	border-radius: 12px;
	background: #ffffff;
	color: var(--tinta);
	font-size: 16px;
}

.campo input[readonly] {
	background: var(--fondo-2);
	font-size: 15px;
	font-weight: 500;
}

.estado {
	font-size: 14px;
	font-weight: 600;
	color: var(--primario-tinta);
}

.estado:empty {
	display: none;
}

.estado--error {
	color: var(--error);
}

.invitados {
	font-size: 15px;
	font-weight: 700;
}

.link-copiar {
	display: flex;
	gap: 8px;
}

.link-copiar input {
	flex: 1 1 auto;
	min-width: 0;
}

.boton--contorno {
	flex: 0 0 auto;
	border: 1px solid var(--tinta);
	background: #ffffff;
	color: var(--tinta);
}

.boton--contorno:hover {
	background: var(--fondo-2);
}

.sugerido {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px;
	border-radius: 14px;
	background: var(--fondo-2);
	font-size: 15px;
}

.sugerido strong {
	font-size: 13px;
	font-weight: 600;
	color: var(--texto-2);
}

.dudas {
	margin-top: 8px;
	text-align: center;
	font-size: 14px;
	color: var(--texto-2);
}

/* ---------- Páginas legales ---------- */

.legal {
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(32px, 6vw, 72px) var(--lateral) 72px;
	line-height: 1.65;
}

.legal h1 {
	font-size: clamp(32px, 4vw, 44px);
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.legal__fecha {
	margin: 10px 0 32px;
	color: var(--texto-2);
	font-size: 15px;
}

.legal h2 {
	margin: 40px 0 12px;
	font-size: 22px;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.legal h3 {
	margin: 24px 0 8px;
	font-size: 18px;
}

.legal p + p {
	margin-top: 12px;
}

.legal ul,
.legal ol {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 12px 0;
	padding-left: 22px;
	list-style: disc;
}

.legal ol {
	list-style: decimal;
}

.legal a {
	color: var(--primario);
	font-weight: 600;
}

.recuadro {
	margin: 24px 0;
	padding: 18px 20px;
	border-radius: 16px;
	background: var(--primario-suave);
	color: var(--primario-tinta);
}

.recuadro p {
	color: var(--primario-tinta);
}
