/* ==========================================================================
   Ficha de marca · Marcas de Grupo (Figma 102:7945 «Marca · …»)
   ========================================================================== */

.vsc-mbrand > .vsc-sec__inner { gap: 24px; }

/* Logo */
.vsc-mbrand__logo {
	display: flex;
	align-items: flex-start;
	height: var(--vsc-logo-box, auto);
}

.vsc-mbrand__logo-img {
	display: block;
	width: auto !important;
	max-width: 100%;
	height: var(--vsc-logo-h, 50px) !important;
	object-fit: contain;
	object-position: left top;
}

/* Encabezado: título L + enlaces externos */
.vsc-mbrand__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	row-gap: 16px;
}

.vsc-mbrand__title {
	flex: 1 0 0;
	min-width: min(280px, 100%);
	max-width: 830px;
	margin: 0 !important;
	padding: 0 !important;
	font-size: var(--vs-fs-l) !important;
	font-weight: 600 !important;
	line-height: var(--vs-lh-l) !important;
	color: var(--vs-primary-600) !important;
}

.vsc-mbrand__links {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 24px;
}

/* Textos */
.vsc-mbrand__desc,
.vsc-mbrand__p {
	max-width: 830px;
	margin: 0 !important;
	padding: 0 !important;
	font-size: var(--vs-fs-text-m);
	line-height: var(--vs-lh-text-m);
	color: var(--vs-neutral-base);
}

.vsc-mbrand__desc--min { min-height: calc(var(--vs-lh-text-m) * 3); }

.vsc-mbrand__desc strong,
.vsc-mbrand__p strong { font-weight: 700; }

/* Bloques */
.vsc-mbrand__blocks {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px 48px;
	padding-top: 16px;
}

.vsc-mbrand__block {
	display: flex;
	flex: 1 0 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-width: min(260px, 100%);
}

.vsc-mbrand__block--wide { flex-basis: 100%; }
.vsc-mbrand__block--rich { gap: 24px; }

.vsc-mbrand__btitle,
.vsc-mbrand__tile-title,
.vsc-mbrand__sub {
	margin: 0 !important;
	padding: 0 !important;
	font-size: var(--vs-fs-xs) !important;
	font-weight: 600 !important;
	line-height: var(--vs-lh-xs) !important;
	color: var(--vs-primary-600) !important;
}

.vsc-mbrand__btitle { width: 100%; }

.vsc-mbrand__bhead {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	row-gap: 12px;
	align-self: stretch;
}

.vsc-mbrand__bhead .vsc-mbrand__btitle {
	flex: 1 0 0;
	width: auto;
	min-width: min(280px, 100%);
}

.vsc-mbrand__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 24px;
}

.vsc-mbrand__btn.w-btn {
	max-width: 311px;
	white-space: nowrap;
}

/* Tarjetas con ilustración (Hogar / Empresas / AAFF) */
.vsc-mbrand__tiles {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px 32px;
	align-self: stretch;
	padding-top: 8px;
}

.vsc-mbrand__tile {
	display: flex;
	flex: 1 0 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-width: min(260px, 100%);
}

.vsc-mbrand__tile .vsc-mbrand__p { max-width: none; }

.vsc-mbrand__tile-img {
	display: block;
	width: 240px !important;
	max-width: 100%;
	height: 207px !important;
	object-fit: contain;
}

/* Servicios */
.vsc-mbrand__services {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-self: stretch;
}

.vsc-mbrand__svc-list {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.vsc-mbrand__svc {
	display: flex;
	flex: 1 0 0;
	align-items: center;
	gap: 16px;
	min-width: min(260px, 100%);
	padding: 24px;
	border-radius: var(--vs-radius-card);
	background: var(--vs-white);
	color: var(--vs-primary-500);
	text-decoration: none !important;
	transition: box-shadow var(--vs-transition), background-color var(--vs-transition);
}

.vsc-bg--white .vsc-mbrand__svc { background: var(--vs-neutral-05); }

.vsc-mbrand__svc-ico {
	display: flex;
	flex: 0 0 48px;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--vs-primary-50);
}

.vsc-mbrand__svc-ico img {
	display: block;
	width: 28px !important;
	height: 28px !important;
}

.vsc-mbrand__svc-name {
	font-size: var(--vs-fs-xs);
	font-weight: 600;
	line-height: var(--vs-lh-xs);
	color: var(--vs-primary-600);
	white-space: nowrap;
	transition: color var(--vs-transition);
}

.vsc-mbrand__svc .vs-ico {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
}

a.vsc-mbrand__svc:hover,
a.vsc-mbrand__svc:focus-visible {
	box-shadow: var(--vs-shadow);
}

a.vsc-mbrand__svc:hover .vsc-mbrand__svc-name,
a.vsc-mbrand__svc:focus-visible .vsc-mbrand__svc-name {
	color: var(--vs-primary-500);
}

@media (max-width: 600px) {
	.vsc-mbrand__svc-name { white-space: normal; }
}

/* Enlaces «Ver web» de cabecera: en Figma el texto tiene ancho fijo de 60 (84 con icono) */
.vsc-mbrand__links .vs-link,
.vsc-mbrand__actions .vs-link,
.vsc-mbrand__end {
	justify-content: flex-start;
	min-width: 84px;
}

.vsc-mbrand__end { align-self: flex-start; }
.vsc-mbrand__bhead { min-height: 40px; }
.vsc-mbrand__block > .vs-link { align-self: flex-start; }
