:root {
	--rpb-red: #d90000;
	--rpb-black: #111;
	--rpb-ink: #242424;
	--rpb-soft: #f3f3f1;
	--rpb-line: #d9d9d6;
}

.rpb-story,
.rpb-offers {
	box-sizing: border-box;
	color: var(--rpb-ink);
}

.rpb-story *,
.rpb-offers * {
	box-sizing: border-box;
}

.rpb-shell {
	width: min(1320px, calc(100% - 64px));
	margin-inline: auto;
}

.rpb-section {
	padding: 88px 0;
	background: #fff;
}

.rpb-section--soft {
	background: var(--rpb-soft);
}

.rpb-section__head {
	max-width: 760px;
	margin: 0 auto 42px;
	text-align: center;
}

.rpb-eyebrow {
	display: block;
	margin-bottom: 9px;
	color: var(--rpb-red);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.rpb-section__head h2 {
	margin: 0;
	color: var(--rpb-black);
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: clamp(38px, 5vw, 68px);
	font-weight: 900;
	line-height: .92;
	letter-spacing: -.045em;
	text-transform: uppercase;
}

.rpb-section__head p {
	max-width: 650px;
	margin: 18px auto 0;
	color: #666;
	font-size: 15px;
	line-height: 1.65;
}

.rpb-benefits,
.rpb-uses {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--rpb-line);
	border-top: 3px solid var(--rpb-red);
}

.rpb-benefits article,
.rpb-uses article {
	min-height: 210px;
	padding: 27px 24px;
	background: #fff;
}

.rpb-benefits article > span,
.rpb-uses article > span {
	color: var(--rpb-red);
	font-size: 12px;
	font-weight: 800;
}

.rpb-benefits h3,
.rpb-uses h3 {
	margin: 38px 0 10px;
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 24px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.rpb-benefits p,
.rpb-uses p {
	margin: 0;
	color: #666;
	font-size: 13px;
	line-height: 1.55;
}

.rpb-uses article b {
	display: block;
	margin-top: 28px;
	padding-top: 12px;
	border-top: 1px solid #bbb;
	font-size: 10px;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.rpb-tech {
	padding: 96px 0;
	background: #0d0d0d;
	color: #fff;
}

.rpb-tech__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(430px, .85fr);
	gap: 9vw;
	align-items: start;
}

.rpb-tech__visual {
	position: sticky;
	top: 24px;
	height: calc(100vh - 48px);
	min-height: 620px;
}

.rpb-tech__stage {
	position: relative;
	height: 100%;
	overflow: hidden;
	background: #222;
}

.rpb-tech__stage > .rpb-eyebrow {
	position: absolute;
	top: 26px;
	left: 26px;
	z-index: 3;
}

.rpb-tech__stage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.1) brightness(.7);
	opacity: .75;
	transition: transform .6s ease, filter .6s ease;
}

.rpb-tech[data-active-step="2"] .rpb-tech__stage img { transform: scale(1.045) translateX(-1%); }
.rpb-tech[data-active-step="3"] .rpb-tech__stage img { transform: scale(1.09) translateY(-1%); filter: grayscale(.65) contrast(1.2) brightness(.62); }
.rpb-tech[data-active-step="4"] .rpb-tech__stage img { transform: scale(1.03); filter: grayscale(1) contrast(1.05) brightness(.78); }

.rpb-tech__diagram {
	position: absolute;
	inset: 17% 12%;
	z-index: 2;
}

.rpb-tech__diagram i {
	position: absolute;
	left: 10%;
	top: 48%;
	width: 78%;
	height: 1px;
	background: rgba(255,255,255,.55);
	transform: rotate(27deg);
}

.rpb-tech__diagram i:nth-child(2) { transform: rotate(-22deg); }
.rpb-tech__diagram i:nth-child(3) { transform: rotate(69deg); }
.rpb-tech__diagram b {
	position: absolute;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	background: var(--rpb-red);
	font-size: 11px;
}
.rpb-tech__diagram b:nth-of-type(1) { left: 8%; top: 44%; }
.rpb-tech__diagram b:nth-of-type(2) { right: 6%; top: 30%; }
.rpb-tech__diagram b:nth-of-type(3) { left: 51%; bottom: 8%; }

.rpb-tech__caption {
	position: absolute;
	left: 26px;
	right: 26px;
	bottom: 24px;
	z-index: 3;
	padding-top: 13px;
	border-top: 1px solid rgba(255,255,255,.45);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.rpb-tech .rpb-section__head {
	margin: 70px 0 100px;
	text-align: left;
}

.rpb-tech .rpb-section__head h2 { color: #fff; }
.rpb-tech .rpb-section__head p { margin-left: 0; color: #aaa; }

.rpb-tech-step {
	min-height: 78vh;
	padding: 54px 0 110px;
	border-top: 1px solid #333;
	opacity: .38;
	transition: opacity .25s ease;
}

.rpb-tech-step.is-active { opacity: 1; }
.rpb-tech-step > span { color: var(--rpb-red); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rpb-tech-step h3 { margin: 20px 0; font-family: "Roboto Condensed", Arial, sans-serif; font-size: clamp(36px, 4vw, 58px); font-weight: 900; line-height: .95; text-transform: uppercase; }
.rpb-tech-step > p { max-width: 580px; color: #aaa; font-size: 15px; line-height: 1.7; }
.rpb-tech-step dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 38px; background: #333; }
.rpb-tech-step dl div { padding: 18px; background: #171717; }
.rpb-tech-step dt { color: #777; font-size: 10px; text-transform: uppercase; }
.rpb-tech-step dd { margin: 6px 0 0; color: #fff; font-size: 13px; font-weight: 700; }

.rpb-table-wrap { overflow-x: auto; }
.rpb-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rpb-table th, .rpb-table td { padding: 17px 20px; border-bottom: 1px solid var(--rpb-line); text-align: left; }
.rpb-table th { background: var(--rpb-black); color: #fff; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.rpb-table th:nth-child(2) { background: var(--rpb-red); }
.rpb-table td:nth-child(2) { color: var(--rpb-red); }

.rpb-faq { max-width: 900px; margin-inline: auto; border-top: 1px solid var(--rpb-line); }
.rpb-faq details { border-bottom: 1px solid var(--rpb-line); }
.rpb-faq summary { position: relative; padding: 23px 52px 23px 0; cursor: pointer; list-style: none; font-size: 14px; font-weight: 800; }
.rpb-faq summary::-webkit-details-marker { display: none; }
.rpb-faq summary::after { content: "+"; position: absolute; right: 12px; color: var(--rpb-red); font-size: 20px; }
.rpb-faq details[open] summary::after { content: "−"; }
.rpb-faq details p { max-width: 720px; margin: -5px 0 24px; color: #666; line-height: 1.65; }

.rpb-insights {
	padding: clamp(70px, 8vw, 118px) 0;
	background: #fff;
	color: var(--rpb-black);
}

.rpb-insights__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
	gap: clamp(36px, 6vw, 90px);
	align-items: start;
}

.rpb-insights__answer h2 {
	max-width: 880px;
	margin: 16px 0 22px;
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: clamp(40px, 5.2vw, 72px);
	font-weight: 900;
	line-height: .98;
	letter-spacing: -.03em;
	text-transform: uppercase;
}

.rpb-insights__answer > p {
	max-width: 780px;
	margin: 0;
	color: #4e4e4b;
	font-size: clamp(17px, 1.6vw, 21px);
	line-height: 1.65;
}

.rpb-insights__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 38px 0 0;
	background: var(--rpb-line);
	border: 1px solid var(--rpb-line);
}

.rpb-insights__facts div { padding: 18px 20px; background: #f5f4f0; }
.rpb-insights__facts dt { color: #777; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rpb-insights__facts dd { margin: 7px 0 0; font-size: 14px; font-weight: 800; }

.rpb-insights__research {
	padding: clamp(28px, 4vw, 44px);
	background: var(--rpb-black);
	color: #fff;
	box-shadow: 12px 12px 0 var(--rpb-red);
}

.rpb-insights__research > span {
	color: #ff6868;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.rpb-insights__research h3 {
	margin: 16px 0;
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 29px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.rpb-insights__research p { margin: 0; color: #d2d2d2; font-size: 14px; line-height: 1.7; }
.rpb-insights__research small { display: block; margin-top: 22px; padding-top: 17px; border-top: 1px solid #444; color: #929292; font-size: 10px; line-height: 1.55; }
.rpb-insights__reviewed { grid-column: 1 / -1; margin: -14px 0 0; color: #777; font-size: 11px; }

.rpb-offers { margin: 18px 0; }
.rpb-offers__title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rpb-offers__title b { padding: 4px 7px; background: #111; color: #fff; font-size: 9px; }
.rpb-offers__list { display: grid; gap: 10px; }
.rpb-offers .rpb-offer {
	position: relative;
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr) minmax(112px, auto);
	gap: 14px;
	align-items: center;
	width: 100%;
	min-height: 96px;
	padding: 16px;
	border: 1px solid #cfcfcb;
	border-radius: 5px;
	background: #fff !important;
	color: #1f1f1f !important;
	text-align: left;
	cursor: pointer;
}
.rpb-offers .rpb-offer:hover { border-color: #777; }
.rpb-offers .rpb-offer.is-active { border-color: #222; background: #e9dfcc !important; box-shadow: inset 0 0 0 1px #222; }
.rpb-offers .rpb-offer > i { width: 28px; height: 28px; border: 1px solid #222; border-radius: 50% !important; background: #fff !important; box-shadow: inset 0 0 0 6px #fff; }
.rpb-offers .rpb-offer.is-active > i { background: #2e3236 !important; }
.rpb-offer__copy { display: grid; gap: 4px; min-width: 0; }
.rpb-offer strong { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
/* Subtitulo y precio por unidad comparten color, tipografia y tamano.
   El subtitulo va en mayusculas por CSS (no por dato) para que el admin siga
   editando rpb_offer_N_subtitle en texto normal desde el backend. */
.rpb-offer small,
.rpb-offer__unit { color: #555; font-size: 11px; font-weight: inherit; line-height: 1.35; text-transform: uppercase; }
.rpb-offer__unit { margin-top: 2px; }
.rpb-offer__unit [data-rpb-unit-price],
.rpb-offer__unit .woocommerce-Price-amount,
.rpb-offer__unit .woocommerce-Price-currencySymbol { color: inherit !important; font: inherit; }
.rpb-offer__discount,
.rpb-offer__shipping { color: #073026 !important; font-weight: 900 !important; }
.rpb-offer__pricing { display: grid; gap: 3px; justify-items: end; align-content: center; }
.rpb-offer__pricing em { color: #222; font-size: 17px; font-style: normal; font-weight: 900; line-height: 1.1; white-space: nowrap; }
.rpb-offer__compare { position: relative; display: inline-block; color: #777; font-size: 12px; font-weight: 600; line-height: 1.1; text-decoration: none; white-space: nowrap; }
.rpb-offer__compare[hidden] { display: none !important; }
.rpb-offer__compare::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transform: translateY(-50%); pointer-events: none; }
.rpb-offer__compare .woocommerce-Price-amount { color: inherit; }
.rpb-offer > b { position: absolute; right: 20px; top: -10px; padding: 4px 10px; border-radius: 4px; background: #555; color: #fff; font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.rpb-offer:nth-child(3) > b { background: #00533f; }
.rpb-offers__notice { margin: 10px 0 0; padding: 9px 11px; background: #fff0f0; color: #a30000; font-size: 10px; line-height: 1.45; }

@media (max-width: 1024px) {
	.rpb-benefits, .rpb-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rpb-insights__layout { grid-template-columns: 1fr; }
	.rpb-tech__layout { grid-template-columns: 1fr; gap: 50px; }
	.rpb-tech__visual { position: relative; top: 0; height: 65vh; min-height: 480px; }
	.rpb-tech-step { min-height: auto; padding: 48px 0; opacity: 1; }
}

@media (max-width: 767px) {
	.rpb-shell { width: min(100% - 32px, 1320px); }
	.rpb-section, .rpb-tech { padding: 62px 0; }
	.rpb-section__head { margin-bottom: 30px; }
	.rpb-section__head h2 { font-size: 40px; }
	.rpb-benefits, .rpb-uses { grid-template-columns: 1fr; }
	.rpb-insights { padding: 62px 0 74px; }
	.rpb-insights__answer h2 { font-size: 40px; }
	.rpb-insights__facts { grid-template-columns: 1fr; }
	.rpb-insights__research { box-shadow: 7px 7px 0 var(--rpb-red); }
	.rpb-benefits article, .rpb-uses article { min-height: 0; }
	.rpb-tech__visual { height: 58vh; min-height: 420px; }
	.rpb-tech .rpb-section__head { margin: 10px 0 55px; }
	.rpb-tech-step h3 { font-size: 38px; }
	.rpb-tech-step dl { grid-template-columns: 1fr; }
	.rpb-table { min-width: 650px; }
	.rpb-offers .rpb-offer { grid-template-columns: 25px minmax(0, 1fr) minmax(94px, auto); gap: 10px; min-height: 96px; padding: 14px 12px; }
	.rpb-offers .rpb-offer > i { width: 24px; height: 24px; box-shadow: inset 0 0 0 5px #fff; }
	.rpb-offer strong { font-size: 12px; }
	.rpb-offer small,
	.rpb-offer__unit { font-size: 10px; }
	.rpb-offer__pricing em { font-size: 15px; }
	.rpb-offer__compare { font-size: 11px; }
}
