/* Marca «Lente» (intusstudio/intus#7): negro, blanco, violeta lente como único acento, dos grises.
   Inter Tight para titulares, Inter para texto, servidas desde /fuentes (sin terceros). */
@font-face {
	font-family: "Inter";
	font-weight: 100 900;
	font-display: swap;
	src: url("/fuentes/inter.woff2") format("woff2");
}

@font-face {
	font-family: "Inter Tight";
	font-weight: 100 900;
	font-display: swap;
	src: url("/fuentes/inter-tight.woff2") format("woff2");
}

:root {
	--negro: #0a0a0a;
	--violeta: #6d28d9;
	--violeta-suave: #f4f0ff;
	--gris-100: #f4f4f5;
	--gris-400: #a1a1aa;
	--tenue: #71717a;
	--linea: #e4e4e7;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Inter", system-ui, sans-serif;
	color: var(--negro);
	background: #fff;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
	font-family: "Inter Tight", "Inter", sans-serif;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

a {
	color: var(--violeta);
}

.ancho {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Logo: «int» + lente (anillo y pupila) + «s». */
.logo {
	font: 700 22px/1 "Inter Tight", sans-serif;
	letter-spacing: -0.04em;
	color: var(--negro);
	text-decoration: none;
	white-space: nowrap;
	display: inline-flex;
	align-items: baseline;
}

.lente {
	display: inline-block;
	width: 0.62em;
	height: 0.62em;
	border: 0.1em solid var(--violeta);
	border-radius: 50%;
	position: relative;
	margin: 0 0.04em;
	align-self: center;
	top: 0.08em;
}

.lente::after {
	content: "";
	position: absolute;
	inset: 22%;
	background: var(--violeta);
	border-radius: 50%;
}

.logo .crm {
	font-weight: 500;
	font-size: 0.5em;
	color: var(--tenue);
	letter-spacing: 0;
	margin-left: 0.4em;
}

/* Barra de arriba */
.barra {
	border-bottom: 1px solid var(--gris-100);
}

.barra .ancho {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 64px;
}

.barra nav {
	display: flex;
	gap: 22px;
	font-size: 14px;
}

.barra nav a {
	color: #52525b;
	text-decoration: none;
}

.barra nav a:hover,
.barra nav a[aria-current="page"] {
	color: var(--negro);
}

.barra nav .destacado {
	color: var(--violeta);
	font-weight: 500;
}

/* Secciones */
section {
	padding: 72px 0;
	border-bottom: 1px solid var(--gris-100);
}

.etiqueta {
	font: 600 11px/1 "Inter", sans-serif;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tenue);
	margin-bottom: 18px;
}

.titular {
	font-weight: 300;
	font-size: clamp(40px, 6vw, 64px);
	line-height: 1.02;
}

.titular b {
	font-weight: 700;
}

.titular .acento {
	color: var(--violeta);
}

.bajada {
	color: var(--tenue);
	font-size: 17px;
	max-width: 540px;
	margin: 20px 0 30px;
}

.boton {
	display: inline-block;
	background: var(--negro);
	color: #fff;
	padding: 12px 20px;
	border-radius: 8px;
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
	border: 0;
	font-family: inherit;
}

.boton.violeta {
	background: var(--violeta);
}

.boton[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

.rejilla {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.rejilla.dos {
	grid-template-columns: repeat(2, 1fr);
}

.caja {
	border: 1px solid var(--linea);
	border-radius: 12px;
	padding: 24px;
	font-size: 15px;
}

.caja h3 {
	font-size: 19px;
	margin-bottom: 8px;
}

.caja p {
	color: var(--tenue);
}

.caja .mas {
	display: inline-block;
	margin-top: 14px;
	color: var(--violeta);
	text-decoration: none;
	font-weight: 500;
}

.tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	color: var(--violeta);
	background: var(--violeta-suave);
	border-radius: 999px;
	padding: 4px 10px;
}

/* Landing de Intus CRM */
.heroe {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 48px;
	align-items: center;
}

/* Sin esto, una columna de la rejilla crece con su contenido y se sale en el celular. */
.heroe > *,
.rejilla > * {
	min-width: 0;
}

.formulario {
	display: grid;
	gap: 10px;
	max-width: 440px;
	margin-top: 8px;
}

.formulario input[type="text"],
.formulario input[type="email"] {
	font: 15px "Inter", sans-serif;
	padding: 11px 13px;
	border: 1px solid var(--linea);
	border-radius: 8px;
	background: var(--gris-100);
	color: var(--tenue);
}

.formulario label {
	font-size: 13px;
	color: #52525b;
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.aviso {
	font-size: 13px;
	color: #52525b;
	background: var(--violeta-suave);
	border-radius: 8px;
	padding: 10px 12px;
}

/* La bandeja dibujada (no es una captura) */
.bandeja {
	border: 1px solid var(--linea);
	border-radius: 14px;
	background: #fafafa;
	padding: 14px;
	box-shadow: 0 12px 40px rgba(10, 10, 10, 0.06);
	font-size: 14px;
}

.bandeja .fila {
	display: flex;
	gap: 12px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--linea);
	border-radius: 10px;
	padding: 12px;
	margin-bottom: 8px;
}

.bandeja .fila:last-child {
	margin-bottom: 0;
}

.bandeja .avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--gris-100);
	flex: none;
}

.bandeja .texto {
	flex: 1;
	min-width: 0;
}

.bandeja .texto b {
	display: block;
	font-weight: 600;
}

.bandeja .texto span {
	color: var(--tenue);
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bandeja .canal {
	font-size: 11px;
	font-weight: 600;
	color: var(--tenue);
	border: 1px solid var(--linea);
	border-radius: 999px;
	padding: 2px 8px;
}

.bandeja .fila.activa {
	border-color: var(--violeta);
}

.bandeja .fila.activa .canal {
	color: var(--violeta);
	border-color: var(--violeta);
}

.pasos {
	counter-reset: paso;
	list-style: none;
}

.pasos li {
	counter-increment: paso;
}

.pasos li::before {
	content: counter(paso);
	display: block;
	font: 300 40px/1 "Inter Tight", sans-serif;
	color: var(--violeta);
	margin-bottom: 12px;
}

.preguntas dt {
	font-weight: 600;
	margin-top: 22px;
}

.preguntas dd {
	color: var(--tenue);
	margin-top: 4px;
	max-width: 680px;
}

/* Páginas de texto (legales, contacto) */
.texto-largo {
	max-width: 720px;
	padding: 56px 0 72px;
}

.texto-largo h1 {
	font-size: 40px;
	margin-bottom: 8px;
}

.texto-largo h2 {
	font-size: 21px;
	margin: 34px 0 8px;
}

.texto-largo p,
.texto-largo li {
	color: #3f3f46;
	margin-bottom: 10px;
}

.texto-largo ul,
.texto-largo ol {
	padding-left: 22px;
}

.texto-largo .vigencia {
	color: var(--tenue);
	font-size: 14px;
	margin-bottom: 24px;
}

/* Pie */
footer {
	background: #fafafa;
	font-size: 13px;
	color: var(--tenue);
	padding: 32px 0 40px;
}

footer .ancho {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	align-items: baseline;
}

footer b {
	color: var(--negro);
}

footer a {
	color: var(--tenue);
}

footer .datos {
	width: 100%;
	margin-top: 6px;
}

@media (max-width: 800px) {
	.heroe,
	.rejilla,
	.rejilla.dos {
		grid-template-columns: 1fr;
	}

	.barra nav {
		gap: 14px;
		font-size: 13px;
	}

	.barra nav .ocultable {
		display: none;
	}

	section {
		padding: 52px 0;
	}
}
