/**
 * Banner con foto (Figma: V2 · Ficha > «No es solo una receta. Es un plan.»).
 */

.psw-pb {
	padding-inline: 17.92px;
}

.psw-pb .psw-pb__frame {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 1880px;
	min-height: 620px;
	margin: 0 auto;
	border-radius: 28px;
	overflow: hidden;
	background-color: var(--psw-foreground-strong);
}

.psw-pb .psw-pb__media {
	position: absolute;
	inset: 0;
}

.psw-pb .psw-pb__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(38, 41, 34, 0.82) 0%, rgba(38, 41, 34, 0.55) 45%, rgba(38, 41, 34, 0) 75%);
}

.psw-pb .psw-pb__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.psw-pb .psw-pb__content {
	position: relative;
	max-width: 820px;
	padding: 64px;
	color: var(--psw-primary-foreground);
}

.psw-pb .psw-pb__eyebrow {
	margin-bottom: 0;
	color: rgba(243, 237, 230, 0.85);
}

.psw-pb .psw-pb__eyebrow .psw-eyebrow__line {
	background-color: rgba(243, 237, 230, 0.85);
}

.psw-pb .psw-pb__title {
	margin: 0;
	color: var(--psw-primary-foreground);
	font-family: var(--psw-font-display);
	font-size: var(--e-global-typography-om_display_l-font-size, 72px);
	font-weight: var(--e-global-typography-om_display_l-font-weight, 300);
	line-height: var(--e-global-typography-om_display_l-line-height, 1.02);
	letter-spacing: var(--e-global-typography-om_display_l-letter-spacing, -0.01em);
}

.psw-pb .psw-pb__title em {
	color: var(--psw-sand);
	font-style: italic;
}

.psw-pb .psw-pb__text {
	max-width: 620px;
	margin: 22px 0 0;
	color: rgba(243, 237, 230, 0.85);
	font-size: var(--e-global-typography-om_texto_m-font-size, 17px);
	line-height: var(--e-global-typography-om_texto_m-line-height, 28px);
}

.psw-pb .psw-pb__items {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.psw-pb .psw-pb__item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 150px;
	padding: 16px 18px;
	border: 1px solid rgba(243, 237, 230, 0.22);
	border-radius: 18px;
	background-color: rgba(243, 237, 230, 0.1);
}

.psw-pb .psw-pb__item svg {
	width: 26px;
	height: 26px;
	margin-bottom: 8px;
	color: var(--psw-primary-foreground);
}

.psw-pb .psw-pb__item strong {
	font-size: var(--e-global-typography-om_texto_m-font-size, 17px);
	font-weight: 500;
	line-height: var(--e-global-typography-om_texto_m-line-height, 28px);
}

.psw-pb .psw-pb__item span {
	color: rgba(243, 237, 230, 0.7);
	font-size: var(--e-global-typography-om_texto_s-font-size, 14px);
	line-height: var(--e-global-typography-om_texto_s-line-height, 22px);
}

/* Escritorio: las 4 tarjetas en una fila, como en Figma; si no caben, la última
   parte su texto en dos líneas (Rinoplastia: «Presupuesto cerrado»). */
@media (min-width: 1024px) {
	.psw-pb .psw-pb__items {
		flex-wrap: nowrap;
	}

	.psw-pb .psw-pb__item {
		flex-shrink: 0;
	}

	.psw-pb .psw-pb__item:last-child {
		flex-shrink: 1;
	}
}

@media (max-width: 1023px) {
	.psw-pb .psw-pb__media::after {
		background: linear-gradient(90deg, rgba(38, 41, 34, 0.85) 0%, rgba(38, 41, 34, 0.65) 60%, rgba(38, 41, 34, 0.2) 100%);
	}

	.psw-pb .psw-pb__content {
		padding: 48px 40px;
	}
}

/* Móvil (Figma: Móvil · Ficha): foto arriba que funde con el oliva oscuro. */
@media (max-width: 767px) {
	.psw-pb {
		padding-inline: 8px;
	}

	.psw-pb .psw-pb__frame {
		display: block;
		min-height: 0;
	}

	.psw-pb .psw-pb__media {
		bottom: auto;
		height: 300px;
	}

	.psw-pb .psw-pb__media::after {
		background: linear-gradient(180deg, rgba(38, 41, 34, 0) 0%, rgba(38, 41, 34, 0.55) 55%, #262922 100%);
	}

	.psw-pb .psw-pb__content {
		padding: 220px 22px 28px;
	}

	.psw-pb .psw-pb__title {
		font-size: 34px;
		line-height: 1.06;
	}

	.psw-pb .psw-pb__items {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		margin-top: 28px;
	}

	.psw-pb .psw-pb__item {
		min-width: 0;
	}
}

/* Varios párrafos (línea en blanco en el texto). */
.psw-pb .psw-pb__text + .psw-pb__text {
	margin-top: 12px;
}

/* Textos largos (fichas: «Seguridad y confianza»): rejilla de 4 columnas, o 3 + 2 con 5. */
.psw-pb .psw-pb__items--detail {
	display: grid;
	grid-template-columns: repeat(var(--psw-pb-cols, 4), minmax(0, 1fr));
	max-width: 636px;
}

.psw-pb .psw-pb__items--detail .psw-pb__item {
	min-width: 0;
}

@media (max-width: 767px) {
	.psw-pb .psw-pb__items--detail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
