/*
 * Campaña Black Friday 2026.
 * Banner, franja de precios y landing.
 */

/* ============================================================
   Banner superior
   ============================================================ */
.ps-bf-bar {
	background: var(--ps-ink);
	color: var(--ps-paper);
	font-size: 15px;
	line-height: 1.45;
	position: relative;
	z-index: 60;
}

.ps-bf-bar__inner {
	max-width: var(--ps-container);
	margin: 0 auto;
	padding: 10px clamp(20px, 4vw, 48px);
	display: flex;
	align-items: center;
	gap: 16px;
}

.ps-bf-bar__text {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
}

.ps-bf-bar__tag {
	color: var(--ps-coral);
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: 20px;
	line-height: 1;
	white-space: nowrap;
}

.ps-bf-bar__text strong {
	font-weight: 700;
	font-size: 19px;
	letter-spacing: -.015em;
}

.ps-bf-bar__price {
	font-size: 1.3em;
	font-weight: 800;
	letter-spacing: -.03em;
}

.ps-bf-bar__sub {
	color: rgba(241, 242, 235, .65);
	font-size: 13px;
}

.ps-bf-bar__cta {
	margin-left: auto;
	color: #fff !important;
	background: var(--ps-coral);
	font-weight: 700;
	text-decoration: none !important;
	padding: 10px 18px;
	border-radius: 999px;
	white-space: nowrap;
	line-height: 1.2;
}

.ps-bf-bar__cta:hover,
.ps-bf-bar__cta:focus {
	color: #fff !important;
	background: #d95545;
	text-decoration: none !important;
}

.ps-bf-bar button.ps-bf-bar__close:not(.ps-tab):not(.wp-block-accordion-heading__toggle):not(.menu-toggle) {
	appearance: none;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--ps-paper) !important;
	font-size: 24px;
	line-height: 1;
	width: 44px !important;
	height: 44px !important;
	min-width: 0 !important;
	flex: 0 0 44px;
	padding: 0 !important;
	cursor: pointer;
	opacity: .6;
	border-radius: 50% !important;
}

.ps-bf-bar button.ps-bf-bar__close:not(.ps-tab):not(.wp-block-accordion-heading__toggle):not(.menu-toggle):hover,
.ps-bf-bar button.ps-bf-bar__close:not(.ps-tab):not(.wp-block-accordion-heading__toggle):not(.menu-toggle):focus-visible {
	opacity: 1;
	background: rgba(241, 242, 235, .12) !important;
	border: 0 !important;
	color: var(--ps-paper) !important;
	box-shadow: none !important;
	transform: none;
	outline: none;
}

/* ============================================================
   Franja en precios
   ============================================================ */
.ps-bf-strip {
	max-width: var(--ps-container);
	margin: 22px auto 0;
	padding: 13px 20px;
	border: 1px solid rgba(49, 109, 97, .18);
	border-radius: var(--ps-radius-sm);
	background: var(--ps-paper);
	text-align: center;
	font-size: 15px;
	line-height: 1.5;
}

.ps-bf-strip p {
	margin: 0;
}

.ps-bf-strip strong {
	color: var(--ps-ink);
}

.ps-bf-strip a {
	font-weight: 600;
	white-space: nowrap;
	margin-left: 6px;
}

@media (max-width: 640px) {
	.ps-bf-strip {
		margin-top: 16px;
		font-size: 14px;
	}
}

/* ============================================================
   Landing
   ============================================================ */
.ps-bf .ps-eyebrow {
	display: flex !important;
	width: fit-content !important;
	margin-left: auto !important;
	margin-right: auto !important;
	justify-content: center;
}

.ps-bf-hero .ps-hero-title {
	max-width: 28ch;
	margin-left: auto !important;
	margin-right: auto !important;
}

.ps-bf-hero .ps-hero-sub {
	max-width: 64ch;
}

/* Ventajas */
.ps-bf-features {
	background: #fff;
}

.ps-bf-feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	max-width: 960px;
	margin: 36px auto 0;
}

.ps-bf-feature {
	background: #fbfdfc;
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius);
	padding: 24px 24px 22px;
}

.ps-bf-feature h3 {
	font-size: 1.12rem !important;
	margin: 0 0 .4em !important;
	letter-spacing: -.02em;
}

.ps-bf-feature p {
	margin: 0;
	color: var(--ps-muted);
	font-size: .94rem;
	line-height: 1.6;
}

@media (max-width: 700px) {
	.ps-bf-feature-grid {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-top: 28px;
	}

	.ps-bf-feature {
		padding: 20px;
	}
}

/* Tarjetas de precio */
.ps-bf-plans {
	background: #f7f8f3;
}

.ps-bf-plans .ps-plans {
	margin-top: 34px !important;
}

.ps-bf-plan {
	background: #fff !important;
}

.ps-bf-price {
	display: flex;
	align-items: baseline;
	gap: 7px;
	margin: 16px 0 0 !important;
	line-height: 1;
}

.ps-bf-price-main {
	font-size: clamp(2.05rem, 3.4vw, 2.7rem);
	font-weight: 800;
	letter-spacing: -.04em;
	color: var(--ps-ink);
}

.ps-bf-price-tax {
	font-size: .78rem;
	font-weight: 700;
	color: var(--ps-green);
	letter-spacing: .01em;
}

.ps-bf-price-sub {
	margin: 4px 0 0 !important;
	font-size: .9rem !important;
	color: var(--ps-muted) !important;
}

.ps-bf-price-after {
	margin: 14px 0 0 !important;
	font-size: .9rem !important;
	color: var(--ps-ink) !important;
	font-weight: 500;
}

.ps-bf-price-year {
	margin: 14px 0 0 !important;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(198, 216, 175, .24);
	font-size: .86rem !important;
	line-height: 1.5 !important;
	color: var(--ps-ink) !important;
}

.ps-bf-price-year strong {
	color: var(--ps-green-dark);
	font-weight: 700;
}

.ps-bf-price-year span {
	color: var(--ps-muted);
}

.ps-bf-plan .wp-block-list {
	margin-top: 18px !important;
}

.ps-bf-plan .wp-block-buttons {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: auto !important;
}

.ps-bf-plan .wp-block-button {
	width: 100%;
}

.ps-bf-plan .wp-block-button__link {
	width: 100%;
	text-align: center;
	font-size: .92rem;
	padding: 12px 16px;
}

.ps-bf-plans-note {
	max-width: 720px;
	margin: 26px auto 0 !important;
	text-align: center;
	color: var(--ps-muted);
	font-size: .9rem;
	line-height: 1.6;
}

@media (max-width: 620px) {
	.ps-bf-plans .ps-plans {
		margin-top: 26px !important;
	}
}

/* Cómo funciona */
.ps-bf-how {
	background: #fff;
}

.ps-bf-how .ps-steps {
	margin-top: 34px !important;
}

/* FAQ nativo */
.ps-bf-faq {
	margin-top: 24px;
	border-top: 1px solid rgba(50, 47, 48, .14);
}

.ps-bf-faq-item {
	border-bottom: 1px solid rgba(50, 47, 48, .14);
}

.ps-bf-faq-item summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding: 18px 44px 18px 0;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--ps-ink);
}

.ps-bf-faq-item summary::-webkit-details-marker {
	display: none;
}

.ps-bf-faq-item summary::after {
	content: "+";
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1;
	color: var(--ps-green);
}

.ps-bf-faq-item[open] summary::after {
	content: "−";
}

.ps-bf-faq-item summary:focus-visible {
	outline: 2px solid var(--ps-green);
	outline-offset: 3px;
	border-radius: 4px;
}

.ps-bf-faq-answer {
	padding: 0 40px 20px 0;
}

.ps-bf-faq-answer p {
	margin: 0;
	color: var(--ps-muted);
	font-size: .95rem;
	line-height: 1.65;
}

.ps-bf-faq-help {
	margin: 22px 0 0 !important;
	text-align: center;
	font-size: .9rem !important;
	color: var(--ps-muted) !important;
}

/* Condiciones */
.ps-bf-conditions {
	background: #f7f8f3;
}

.ps-bf-conditions-box {
	max-width: 920px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius);
	padding: clamp(24px, 4vw, 38px);
}

.ps-bf-conditions-box h2 {
	font-size: clamp(1.5rem, 2.4vw, 2rem) !important;
	margin: 0 0 .7em !important;
}

.ps-bf-conditions-box ul {
	margin: 0 0 18px !important;
	padding-left: 1.2em;
	list-style: disc;
}

.ps-bf-conditions-box li {
	margin: 0 0 .55em !important;
	color: var(--ps-muted);
	font-size: .92rem;
	line-height: 1.6;
}

.ps-bf-conditions-link {
	margin: 0 !important;
	font-size: .9rem;
	font-weight: 600;
}

/* ============================================================
   Móvil
   ============================================================ */
@media (max-width: 720px) {
	.ps-bf-bar__inner {
		flex-wrap: wrap;
		gap: 4px 12px;
		padding-top: 9px;
		padding-bottom: 9px;
	}

	.ps-bf-bar__text {
		display: block;
		flex: 1 1 100%;
	}

	.ps-bf-bar__tag {
		display: block;
		margin-bottom: 3px;
		font-size: 17px;
	}

	.ps-bf-bar__text strong {
		font-size: 16px;
	}

	.ps-bf-bar__price {
		font-size: 1.2em;
	}

	.ps-bf-bar__sub {
		display: block;
		font-size: 12px;
	}

	.ps-bf-bar__cta {
		margin-left: 0;
		font-size: 13px;
		padding: 9px 14px;
	}

	.ps-bf-bar button.ps-bf-bar__close:not(.ps-tab):not(.wp-block-accordion-heading__toggle):not(.menu-toggle) {
		margin-left: auto;
		width: 36px !important;
		height: 36px !important;
		flex-basis: 36px;
	}
}


/* ============================================================
   Hero compacto: menos aire entre el hero y la siguiente sección
   ============================================================ */
.ps-home .ps-bf-hero {
	padding-top: clamp(40px, 5vw, 64px) !important;
	padding-bottom: clamp(12px, 1.5vw, 20px) !important;
}

.ps-home .ps-bf-changes {
	padding-top: clamp(20px, 3vw, 36px) !important;
	padding-bottom: clamp(20px, 3vw, 36px) !important;
}

.ps-home .ps-bf-plans {
	padding-top: clamp(32px, 4vw, 56px) !important;
}

.ps-home .ps-bf-features {
	padding-top: clamp(40px, 4vw, 56px) !important;
}


/* ============================================================
   Qué cambia con Pro
   ============================================================ */
.ps-bf-changes {
	background: #fff;
}

.ps-bf-changes-box {
	max-width: 1120px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--ps-line);
	border-radius: 24px;
	padding: clamp(22px, 3.5vw, 34px);
	box-shadow: 0 24px 60px -46px rgba(24, 58, 51, .35);
}

.ps-bf-changes-head {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 18px;
	margin-bottom: 24px;
	text-align: center;
}

.ps-bf-changes-head > div {
	text-align: center;
}

.ps-bf-changes-head .ps-h2 {
	font-size: clamp(1.7rem, 2.6vw, 2.25rem) !important;
	margin: 0 0 .25em !important;
}

.ps-bf-changes-lead {
	max-width: 620px;
	margin: 0 auto !important;
	color: var(--ps-muted);
	font-size: .95rem;
	line-height: 1.55;
	text-align: center;
}

.ps-bf-changes-badge {
	flex: 0 0 auto;
	padding: 7px 14px;
	border-radius: 999px;
	background: #dfead2;
	color: var(--ps-green);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .02em;
	white-space: nowrap;
	margin-top: 4px;
}

.ps-bf-changes-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.ps-bf-change {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #f7f8f3;
	border: 1px solid var(--ps-line);
	border-radius: 16px;
	padding: 20px 20px 18px;
}

.ps-bf-change-icon {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #e8f0df;
	color: var(--ps-green);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ps-bf-change-icon svg {
	width: 22px;
	height: 22px;
}

.ps-bf-change-body {
	min-width: 0;
}

.ps-bf-change h3 {
	font-size: 1.02rem !important;
	margin: 2px 0 .3em !important;
	letter-spacing: -.02em;
}

.ps-bf-change p {
	margin: 0 0 14px !important;
	color: var(--ps-muted);
	font-size: .9rem;
	line-height: 1.5;
}

.ps-bf-change-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #eef4e6;
	color: var(--ps-muted);
	font-size: .82rem;
	line-height: 1.3;
}

.ps-bf-change-bar strong {
	color: var(--ps-green);
	font-weight: 700;
}

@media (max-width: 760px) {
	.ps-bf-changes-grid {
		grid-template-columns: 1fr;
	}

	.ps-bf-changes-head {
		flex-direction: column;
		gap: 10px;
	}

	.ps-bf-changes-badge {
		margin-top: 0;
	}

	.ps-bf-change {
		padding: 18px;
	}
}
