/* /branding-identidad-de-marca/ · Branding e identidad de marca (4 oct 2026)
   «Un manual de marca que se entiende» (#manual): hoja de marca de ejemplo (la de Xiomara) hecha con listas:
   versiones del logo, colores y tipografías. */
.xp-hoja-marca { display: grid; gap: .75rem; }
.xp-hoja-marca > * { margin: 0; }
.xp-hoja-marca > ul { list-style: none; padding: 0; display: grid; gap: .75rem; }
.xp-hoja-marca > ul + .xp-hoja-marca__rotulo { margin-top: 1rem; }
.xp-hoja-marca__rotulo {
	font-family: var(--xp-f-ui); font-size: .8125rem; font-weight: 600; letter-spacing: .06em;
	text-transform: uppercase; color: var(--xp-gris);
}
.xp-hoja-marca li { font-size: .875rem; line-height: 1.35; color: var(--xp-gris); }
.xp-hoja-marca strong { display: block; color: var(--xp-ciruela); }

/* Versiones del logo: principal y negativo apiladas a la izquierda y el símbolo a la derecha; en una fila desde 560 px */
.xp-hoja-marca__logos { grid-template-columns: 1fr 6.5rem; }
.xp-hoja-marca__logos li:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
.xp-hoja-marca__logos li strong {
	display: flex; align-items: center; justify-content: center; min-height: 4.25rem; margin-bottom: .35rem;
	border: 1px solid var(--xp-linea); border-radius: var(--xp-radio-p); background: var(--xp-blanco);
	font-family: var(--xp-f-ui); font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
}
.xp-hoja-marca__logos li:nth-child(-n+2) strong::after { content: "*"; color: var(--xp-rosa); font-size: 1.1em; line-height: 0; position: relative; top: .14em; margin-left: .05em; }
.xp-hoja-marca__logos li:nth-child(2) strong { background: var(--xp-ciruela); border-color: var(--xp-ciruela); color: var(--xp-blanco); }
.xp-hoja-marca__logos li:nth-child(2) strong::after { color: var(--xp-rosa-claro); }
.xp-hoja-marca__logos li:nth-child(3) { display: flex; flex-direction: column; }
.xp-hoja-marca__logos li:nth-child(3) strong { flex: 1; background: var(--xp-niebla) var(--xp-ast) center / 2.75rem no-repeat; border-color: var(--xp-niebla); font-size: 0; }

/* Colores: muestra de color encima del nombre y el código */
.xp-hoja-marca__colores { grid-template-columns: repeat(2, 1fr); }
.xp-hoja-marca__colores li::before { content: ""; display: block; height: 3.25rem; margin-bottom: .45rem; border-radius: var(--xp-radio-p); border: 1px solid var(--xp-linea); }
.xp-hoja-marca__colores li:nth-child(1)::before { background: var(--xp-ciruela); border-color: var(--xp-ciruela); }
.xp-hoja-marca__colores li:nth-child(2)::before { background: var(--xp-rosa); border-color: var(--xp-rosa); }
.xp-hoja-marca__colores li:nth-child(3)::before { background: var(--xp-niebla); }
.xp-hoja-marca__colores li:nth-child(4)::before { background: var(--xp-lila); }
.xp-hoja-marca__colores strong { font-family: var(--xp-f-ui); font-size: .875rem; font-weight: 600; }

/* Tipografías: «Aa» grande con cada letra */
.xp-hoja-marca__tipos li { display: flex; align-items: center; gap: 1rem; font-size: .9375rem; }
.xp-hoja-marca__tipos strong { flex: none; width: 3.5rem; font-size: 2.25rem; line-height: 1.1; font-weight: 600; }
.xp-hoja-marca__tipos li:nth-child(1) strong { font-family: var(--xp-f-texto); }
.xp-hoja-marca__tipos li:nth-child(2) strong { font-family: var(--xp-f-ui); }

@media (min-width: 560px) {
	.xp-hoja-marca__logos { grid-template-columns: 1fr 1fr 6.5rem; }
	.xp-hoja-marca__logos li:nth-child(3) { grid-column: auto; grid-row: auto; }
	.xp-hoja-marca__colores { grid-template-columns: repeat(4, 1fr); }
}
