/* ============================================================
 *  IC-BRUJULA.CSS · Brújula de marca™ · © Ibon Castillo
 *
 *  ÍNDICE
 *  00 · Variables
 *  01 · Cabecera: brújula animada (módulo Código, clase br-comp)
 *       y lista «incluye» (módulo Texto, clase br-incluye)
 *  02 · Sección de la herramienta (clase br-sec): pisa la cabecera
 *  03 · Tarjeta: lateral de pasos + parte principal
 *  04 · Campos: textos, píldoras, deslizadores, casilla
 *  05 · Navegación y botones
 *  06 · Resultado
 *  07 · Responsive
 *  08 · Movimiento reducido
 *
 *  Todo va dentro de .br-app / .br-comp / .br-sec, así no toca el
 *  resto de la web. Los colores salen de las variables del 00.
 * ============================================================ */

/* ============================================================
 * 00 · VARIABLES
 * ============================================================ */
.br-app, .br-comp, .br-incluye, .br-sec {
	--br-mg: #ff0a63;
	--br-mg-suave: #fff0f5;
	--br-mg-borde: #ffc9dc;
	--br-night: #000d32;
	--br-navy: #11265e;
	--br-snow: #fafafa;
	--br-tx: #2b3550;
	--br-tx2: #5a6582;
	--br-linea: #e3e6ef;
	--br-linea-2: #cfd5e2;
	--br-panel: #f1f3f8;
	--br-sans: 'Sora', Helvetica, Arial, sans-serif;
	--br-serif: 'Instrument Serif', Georgia, serif;
	--br-e: cubic-bezier(.16, 1, .3, 1);
	--br-solape: 170px;          /* cuánto pisa la tarjeta la cabecera */
}


/* ============================================================
 * 01 · CABECERA
 * ============================================================ */
/* Brújula (módulo Código con clase br-comp) */
.br-comp {
	position: relative;
	width: min(400px, 100%);
	aspect-ratio: 1;
	margin-left: auto;
	filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45));
}
.br-comp .et_pb_code_inner { position: absolute; inset: 0; }
.br-comp svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.br-comp .anillo { transform-origin: 200px 200px; animation: brGira 60s linear infinite; }
.br-comp .aguja { transform-origin: 200px 200px; animation: brAguja 7s var(--br-e) infinite; }
.br-comp.is-sigue .aguja { animation: none; }           /* con el ratón cerca, la mueve el JS */
@keyframes brGira { to { transform: rotate(360deg); } }
@keyframes brAguja {
	0% { transform: rotate(-28deg); }
	18% { transform: rotate(14deg); }
	30% { transform: rotate(-6deg); }
	42%, 100% { transform: rotate(0deg); }
}
.br-comp .etq {
	position: absolute;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(250, 250, 250, .2);
	background: rgba(250, 250, 250, .1);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-family: var(--br-sans);
	font-size: 12px;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--br-snow);
	animation: brFlota 6s ease-in-out infinite;
}
.br-comp .etq:nth-of-type(1) { top: 8%; left: -6%; }
.br-comp .etq:nth-of-type(2) { top: 46%; right: -12%; animation-delay: -2s; }
.br-comp .etq:nth-of-type(3) { bottom: 6%; left: 4%; animation-delay: -4s; }
@keyframes brFlota { 50% { transform: translateY(-10px); } }

/* Lista «Tu propuesta de valor · …» (módulo Texto con clase br-incluye, con una lista) */
body #page-container .br-incluye ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
body #page-container .br-incluye li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	padding: 10px 16px !important;
	border-radius: 999px;
	border: 1px solid rgba(250, 250, 250, .12);
	background: rgba(250, 250, 250, .07);
	font-size: 14px;
	line-height: 1.3;
	color: var(--br-snow);
}
body #page-container .br-incluye li::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background: var(--br-mg);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12 10 17 19 7'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12 10 17 19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* ============================================================
 * 02 · SECCIÓN DE LA HERRAMIENTA (clase br-sec en la sección de Divi)
 * Sube para pisar la cabecera. Fondo de la sección: transparente.
 * ============================================================ */
body #page-container .et_pb_section.br-sec {
	position: relative;
	z-index: 3;
	margin-top: calc(-1 * var(--br-solape));
	background-color: transparent;
}


/* ============================================================
 * 03 · TARJETA
 * ============================================================ */
.br-app { font-family: var(--br-sans); color: var(--br-tx); -webkit-font-smoothing: antialiased; }
.br-app *, .br-app *::before, .br-app *::after { box-sizing: border-box; }
.br-app :is(h2, h3, h4, p) { padding: 0; }
.br-app em { font-family: var(--br-serif); font-style: italic; font-weight: 400; color: var(--br-mg); }
.br-app mark { background: none; color: var(--br-mg); font-family: var(--br-serif); font-style: italic; font-size: 1.08em; }

.br-card {
	position: relative;
	overflow: clip;
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr);
	border-radius: 36px;
	background: #fff;
	box-shadow: 0 50px 120px -50px rgba(0, 13, 50, .55);
}

/* Lateral: los pasos */
.br-lado { padding: 44px 34px; background: var(--br-panel); border-right: 1px solid var(--br-linea); }
.br-lado h2 { margin: 0 0 6px; font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--br-navy); }
.br-lado > p { margin: 0 0 30px; font-size: 14px; line-height: 1.6; color: var(--br-tx2); }
.br-pasos { margin: 0 !important; padding: 0 !important; list-style: none !important; counter-reset: brp; }
.br-pasos li {
	counter-increment: brp;
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 !important;
	padding: 12px 0 !important;
	font-size: 14px;
	line-height: 1.3;
	color: var(--br-tx2);
	transition: color .3s;
}
.br-pasos li::before {
	content: counter(brp);
	flex: none;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--br-linea-2);
	background: #fff;
	font-size: 12px;
	transition: .3s;
}
.br-pasos li.is-act { color: var(--br-navy); font-weight: 500; }
.br-pasos li.is-act::before { border-color: var(--br-mg); background: var(--br-mg); color: #fff; box-shadow: 0 0 0 5px rgba(255, 10, 99, .12); }
.br-pasos li.is-ok::before { content: "✓"; border-color: var(--br-navy); background: var(--br-navy); color: #fff; }
.br-pasos li:not(:last-child)::after { content: ""; position: absolute; left: 14.5px; top: 42px; width: 1px; height: 12px; background: var(--br-linea-2); }
.br-privado { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--br-linea); font-size: 12px; line-height: 1.6; color: var(--br-tx2); }

/* Principal (con la rejilla fina de fondo) */
.br-main { position: relative; display: flex; flex-direction: column; min-height: 620px; padding: 44px 56px 40px; }
.br-main::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: .55;
	background:
		linear-gradient(90deg, var(--br-linea) 1px, transparent 1px) 0 0 / 72px 72px,
		linear-gradient(var(--br-linea) 1px, transparent 1px) 0 0 / 72px 72px;
	-webkit-mask: radial-gradient(ellipse at 100% 0, #000, transparent 65%);
	        mask: radial-gradient(ellipse at 100% 0, #000, transparent 65%);
}
.br-main > * { position: relative; z-index: 1; }
.br-prog { display: flex; align-items: center; gap: 16px; margin-bottom: 38px; font-size: 13px; color: var(--br-tx2); }
.br-prog__barra { flex: 1; height: 4px; border-radius: 4px; background: var(--br-linea); overflow: hidden; }
.br-prog__barra i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--br-navy), var(--br-mg)); transition: width .7s var(--br-e); }

.br-paso { display: none; flex: 1; }
.br-paso.is-act { display: block; animation: brEntra .6s var(--br-e); }
@keyframes brEntra { from { opacity: 0; transform: translateY(16px); } }
.br-paso h3 { margin: 0 0 8px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; color: var(--br-navy); }
.br-paso > .ayuda { margin: 0 0 34px; max-width: 560px; font-size: 15px; line-height: 1.6; color: var(--br-tx2); }


/* ============================================================
 * 04 · CAMPOS
 * ============================================================ */
.br-campo { margin-bottom: 28px; }
.br-campo > .tit { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--br-navy); }
.br-campo > .tit small { font-size: 12px; font-weight: 400; color: var(--br-tx2); }
.br-campo .nota { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--br-tx2); }
.br-cuenta { float: right; font-size: 12px; font-weight: 400; color: #a3abbf; }
.br-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }

body .br-app .br-in {
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 20px;
	border: 1px solid var(--br-linea-2);
	border-radius: 16px;
	background: rgba(250, 250, 250, .85);
	box-shadow: none;
	font-family: var(--br-sans);
	font-size: 16px;                       /* 16 px: el iPhone no amplía al tocar */
	color: var(--br-night);
	transition: border-color .3s, box-shadow .3s;
}
body .br-app .br-in:focus { outline: 0; border-color: var(--br-mg); box-shadow: 0 0 0 4px rgba(255, 10, 99, .1); }
body .br-app .br-in::placeholder { color: #a3abbf; opacity: 1; }
body .br-app select.br-in {
	-webkit-appearance: none;
	appearance: none;
	background: rgba(250, 250, 250, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311265e' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 18px center / 18px no-repeat;
}
.br-in.is-mal { border-color: var(--br-mg) !important; }

/* Píldoras */
.br-pild { display: flex; flex-wrap: wrap; gap: 10px; }
body .br-app .br-pild button {
	margin: 0;
	padding: 12px 20px;
	border-radius: 999px;
	border: 1px solid var(--br-linea-2);
	background: rgba(250, 250, 250, .85);
	font-family: var(--br-sans);
	font-size: 14px;
	line-height: 1.35;
	text-align: left;
	color: var(--br-tx);
	cursor: pointer;
	transition: .25s;
}
body .br-app .br-pild button.is-sel { border-color: var(--br-navy); background: var(--br-navy); color: #fff; }
.br-pild.is-mal button { border-color: var(--br-mg); }
@media (hover: hover) { body .br-app .br-pild button:not(.is-sel):hover { border-color: var(--br-navy); } }

/* Deslizadores */
.br-desl { display: grid; gap: 26px; max-width: 640px; }
.br-d__eti { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; color: var(--br-tx2); }
.br-d__eti b { font-weight: 500; color: var(--br-navy); transition: color .3s; }
.br-d__eti b.is-on { color: var(--br-mg); }
.br-d input[type=range] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	margin: 0;
	border-radius: 6px;
	background: linear-gradient(90deg, var(--br-navy) var(--p, 50%), var(--br-linea) var(--p, 50%));
	outline: 0;
	cursor: pointer;
}
.br-d input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--br-mg); box-shadow: 0 6px 16px -4px rgba(255, 10, 99, .5); transition: transform .2s; }
.br-d input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--br-mg); }
.br-d input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(255, 10, 99, .2); }
.br-d__marcas { display: flex; justify-content: space-between; margin-top: 8px; padding: 0 10px; }
.br-d__marcas i { width: 1px; height: 6px; background: var(--br-linea-2); }

/* Casilla de privacidad */
.br-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--br-tx2); cursor: pointer; }
.br-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--br-mg); }
.br-check a { color: var(--br-mg); }
.br-check.is-mal span { color: var(--br-mg); }

/* Paso 2 · vista previa de la propuesta */
.br-vista { margin-top: 6px; padding: 22px 24px; border-radius: 18px; border: 1px dashed var(--br-mg-borde); background: var(--br-mg-suave); }
.br-vista__tit { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--br-mg); }
.br-vista__frase { margin: 0 0 14px; font-size: 18px; line-height: 1.5; color: var(--br-navy); }
.br-vista__hueco { color: #a3abbf; }

/* Aviso con triángulo (paso 2 y resultado) */
.br-aviso {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: #6a5313;
}
.br-aviso::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	background: #d9a227;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") center / contain no-repeat;
}
.br-bloque > .br-aviso { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: #fff6e0; border: 1px solid #f4dd9c; }
.br-bloque > .br-aviso + .br-pie { margin-top: 12px; }

/* Campo trampa antispam: fuera de la vista */
.br-trampa { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }


/* ============================================================
 * 05 · NAVEGACIÓN Y BOTONES
 * Botón: el mismo que .ic-btn-bg (magenta, cúpula blanca al pasar)
 * ============================================================ */
.br-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--br-linea); }
.br-error { min-height: 20px; margin: 0; font-size: 13px; line-height: 1.4; text-align: center; color: var(--br-mg); }

/* Flecha de tus botones (la misma máscara SVG que ic-estilos.css) */
.br-app {
	--br-flecha: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cline%20x1%3D%224%22%20y1%3D%2212%22%20x2%3D%2219%22%20y2%3D%2212%22%2F%3E%3Cpolyline%20points%3D%2213%2C6%2019%2C12%2013%2C18%22%2F%3E%3C%2Fsvg%3E");
}

/* --- Botón magenta: copia de .ic-btn-bg (cúpula blanca, flecha que entra y luz en el borde) --- */
body .br-app .br-btn {
	position: relative;
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 8px;
	margin: 0;
	padding: 14px 10px 14px 30px;
	overflow: hidden;
	border-radius: 100px;
	border: 1px solid #ff0a63;
	background-color: #ff0a63;
	background-image: radial-gradient(circle 300px at 50% 50%, #fafafa 0, #fafafa 300px, transparent 301px);
	background-repeat: no-repeat;
	background-size: 600px 600px;
	background-position: 50% 200px;
	font-family: var(--br-sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: normal;
	color: #fafafa;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-position 1s cubic-bezier(.16, 1, .3, 1), color .5s ease, border-color .5s ease, padding .5s ease, opacity .3s;
}
body .br-app .br-btn::after {
	content: "";
	display: block;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: var(--br-flecha) no-repeat center / contain;
	        mask: var(--br-flecha) no-repeat center / contain;
	opacity: 0;
	transform: translateX(-12px);
	transition: opacity .45s ease, transform .55s cubic-bezier(.16, 1, .3, 1);
}
body .br-app .br-btn__txt { position: relative; z-index: 1; }

/* Luz que recorre el borde (como .ic-btn-luz) */
@property --br-angulo { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes brBorde { to { --br-angulo: 360deg; } }
body .br-app .br-btn__luz {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 2px;
	pointer-events: none;
	background: conic-gradient(from var(--br-angulo), #ff0a63 0deg, #ff0a63 120deg, #ff0a6399 130deg, #11265e80 145deg, #11265e 170deg, #ff0a63 360deg);
	-webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	        mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	filter: drop-shadow(0 0 6px rgba(255, 10, 99, .55));
	opacity: 0;
	transition: opacity .35s ease;
	animation: brBorde 2.2s linear infinite;
	animation-play-state: paused;
}

/* --- Botón «Atrás»: copia de .ic-hero-btn (contorno, cúpula magenta) con la flecha hacia la izquierda --- */
body .br-app .br-btn--borde {
	padding: 14px 30px 14px 10px;
	border-color: var(--br-linea-2);
	background-color: transparent;
	background-image: radial-gradient(circle 300px at 50% 50%, #ff0a63 0, #ff0a63 300px, transparent 301px);
	color: var(--br-navy);
}
body .br-app .br-btn--borde::after { order: -1; transform: translateX(12px) scaleX(-1); }

body .br-app .br-btn[disabled] { opacity: .6; pointer-events: none; }

@media (hover: hover) {
	body .br-app .br-btn:hover {
		padding: 14px 30px;
		background-position: 50% -35px;
		border-color: #fafafa;
		color: #ff0a63;
	}
	body .br-app .br-btn:hover::after { opacity: 1; transform: translateX(0); }
	body .br-app .br-btn:hover .br-btn__luz { opacity: 1; animation-play-state: running; }
	body .br-app .br-btn--borde:hover { border-color: #ff0a63; color: #fff; }
	body .br-app .br-btn--borde:hover::after { transform: translateX(0) scaleX(-1); }
}
/* En pantallas táctiles no hay «pasar el ratón»: la flecha se ve siempre */
@media (hover: none) {
	body .br-app .br-btn { padding: 14px 24px; }
	body .br-app .br-btn::after { opacity: 1; transform: none; }
	body .br-app .br-btn--borde::after { transform: scaleX(-1); }
}

.br-firma { margin: 18px 0 0; font-size: 11px; line-height: 1.5; text-align: center; color: #8a93a8; }


/* ============================================================
 * 06 · RESULTADO
 * ============================================================ */
.br-res { display: none; }
.br-app.is-res .br-card { grid-template-columns: 1fr; }
.br-app.is-res :is(.br-lado, .br-prog, .br-paso, .br-nav) { display: none !important; }
.br-app.is-res .br-res { display: block; animation: brEntra .8s var(--br-e); }

.br-res__cab { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; margin-bottom: 34px; }
.br-res__cab h3 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; color: var(--br-navy); }
.br-res__cab p { margin: 8px 0 0; font-size: 15px; color: var(--br-tx2); }
.br-enviado { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--br-mg-suave); font-size: 13px; line-height: 1.5; color: var(--br-mg); }

/* Píldora de título: «01 · Tu propuesta de valor» (magenta, como en las landings) */
.br-num {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	padding: 5px 16px 5px 5px;
	border-radius: 999px;
	border: 1px solid var(--br-mg-borde);
	background: var(--br-mg-suave);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--br-mg);
}
.br-num b { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--br-mg); font-weight: 500; letter-spacing: 0; color: #fff; }

.br-bloque { margin-bottom: 22px; padding: 34px 38px; border-radius: 26px; border: 1px solid var(--br-linea); background: rgba(255, 255, 255, .9); }
.br-prop {
	margin: 0 -20px;
	padding: 14px 20px;
	border: 1.5px dashed transparent;
	border-radius: 14px;
	outline: 0;
	font-size: clamp(22px, 2.3vw, 30px);
	line-height: 1.35;
	letter-spacing: -.01em;
	color: var(--br-navy);
	cursor: text;
	transition: background .3s, border-color .3s;
}
.br-prop:hover, .br-prop:focus { border-color: var(--br-mg); }
.br-prop:focus { background: var(--br-panel); }
.br-pie { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--br-tx2); }

/* Perfil (bloque oscuro) */
.br-perfil { position: relative; overflow: hidden; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 38px; align-items: center; border: 0; background: var(--br-night); color: var(--br-snow); }
.br-perfil::after { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px; border-radius: 50%; background: var(--br-mg); filter: blur(120px); opacity: .35; pointer-events: none; }
.br-perfil > * { position: relative; z-index: 1; }
.br-perfil .br-num { border-color: rgba(255, 10, 99, .45); background: rgba(255, 10, 99, .14); color: #ff7aa9; }
.br-perfil__sello { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(250, 250, 250, .2); background: radial-gradient(circle at 30% 25%, rgba(250, 250, 250, .16), transparent 60%); }
.br-perfil__sello span { font-family: var(--br-serif); font-style: italic; font-size: 76px; line-height: 1; color: var(--br-mg); }
.br-perfil__sello small { position: absolute; bottom: 22%; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(250, 250, 250, .6); }
.br-perfil h4 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; color: var(--br-snow); }
.br-perfil p { margin: 0 0 18px; font-size: 16px; line-height: 1.65; color: rgba(250, 250, 250, .8); }
.br-ejes { display: flex; flex-wrap: wrap; gap: 8px; }
.br-ejes span { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(250, 250, 250, .2); font-size: 12px; }

/* Lo que llega por email (difuminado) */
.br-bloqueado { position: relative; margin-bottom: 22px; border-radius: 26px; overflow: hidden; }
.br-bloqueado__fondo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 30px; filter: blur(7px); opacity: .6; pointer-events: none; user-select: none; }
.br-bloqueado__fondo div { height: 150px; border-radius: 18px; background: var(--br-panel); }
.br-bloqueado__msg { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; background: linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, .85)); }
.br-bloqueado__msg b { display: block; margin-bottom: 8px; font-size: 18px; font-weight: 500; color: var(--br-navy); }
.br-bloqueado__msg p { margin: 0 auto; max-width: 460px; font-size: 14px; line-height: 1.6; color: var(--br-tx2); }

/* Cierre */
.br-cierre { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 38px; border-radius: 26px; border: 1px solid var(--br-mg-borde); background: linear-gradient(120deg, var(--br-mg-suave), #fff 70%); }
.br-cierre h4 { margin: 0 0 8px; font-size: 26px; font-weight: 400; line-height: 1.25; color: var(--br-navy); }
.br-cierre p { margin: 0; max-width: 620px; font-size: 15px; line-height: 1.65; color: var(--br-tx2); }


/* ============================================================
 * 07 · RESPONSIVE
 * ============================================================ */
@media (max-width: 980px) {
	.br-app, .br-comp, .br-sec { --br-solape: 140px; }
	.br-comp { width: 260px; margin: 0 auto; }
	.br-card { grid-template-columns: 1fr; }
	.br-lado { padding: 26px 28px; border-right: 0; border-bottom: 1px solid var(--br-linea); }
	.br-lado > p, .br-privado { display: none; }
	.br-pasos { display: flex; justify-content: space-between; }
	.br-pasos li { gap: 0; padding: 0 !important; font-size: 0; }
	.br-pasos li:not(:last-child)::after { display: none; }
	.br-main { min-height: 0; padding: 34px 30px 30px; }
	.br-perfil { grid-template-columns: 1fr; gap: 24px; }
	.br-perfil__sello { width: 150px; }
}
@media (max-width: 767px) {
	.br-app, .br-comp, .br-sec { --br-solape: 120px; }
	.br-comp { width: 200px; }
	.br-comp .etq { display: none; }
	.br-card { border-radius: 26px; }
	.br-main { padding: 28px 20px 24px; }
	.br-2 { grid-template-columns: 1fr; }
	.br-bloque, .br-cierre { padding: 26px 22px; }
	.br-prop { margin: 0 -10px; padding: 10px; }
	.br-cierre { grid-template-columns: 1fr; }
	.br-cierre .br-btn { justify-content: center; }
	.br-enviado { display: block; border-radius: 14px; }
	.br-perfil__sello { width: 110px; }
	.br-perfil__sello span { font-size: 52px; }
	.br-perfil__sello small { display: none; }
	.br-bloqueado__fondo { grid-template-columns: 1fr; padding: 20px; }
	.br-bloqueado__fondo div { height: 190px; }
	.br-bloqueado__fondo div:nth-child(n+2) { display: none; }
	.br-bloqueado__msg b { font-size: 16px; }
	/* «Atrás / Siguiente» pegados abajo mientras se rellena */
	.br-nav {
		position: sticky;
		bottom: 0;
		z-index: 3;
		margin: 24px -20px -24px;
		padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .94);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
		box-shadow: 0 -10px 30px -20px rgba(0, 13, 50, .35);
	}
	.br-error { position: absolute; left: 20px; right: 20px; top: -24px; }
}


/* ============================================================
 * 08 · MOVIMIENTO REDUCIDO
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
	.br-comp .anillo, .br-comp .aguja, .br-comp .etq,
	.br-paso.is-act, .br-app.is-res .br-res { animation: none !important; }
	.br-app *, .br-comp * { transition: none !important; }
}
