/* =====================================================
   Revista Catálogo Volvo — Elementor Widget  v1.0.0
   ===================================================== */

/* ── CSS Custom Properties ── */
.rc-magazine-wrapper {
	--rc-accent:      #2B4A8F;
	--rc-dark:        #1A1A1A;
	--rc-light-bg:    #F7F5F0;
	--rc-white:       #FFFFFF;
	--rc-text:        #1C1C1C;
	--rc-text-mid:    #444444;
	--rc-text-light:  #888888;
	--rc-border:      #E0DDD8;
	--rc-transition:  0.55s cubic-bezier(0.4, 0, 0.2, 1);
	--rc-font:        'Segoe UI', system-ui, -apple-system, sans-serif;

	position: relative;
	margin: 0 auto;
	font-family: var(--rc-font);
}

/* ══════════════════════════════════════════════════
   STPAGEFLIP BOOK SHELL
   ══════════════════════════════════════════════════ */

/* Container that StPageFlip manages */
.rc-flip-book {
	position: relative;
	margin: 0 auto;
	touch-action: pan-y;
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
	border-radius: 4px;
	overflow: visible;
}

/* Individual pages — StPageFlip positions these */
.rc-page {
	overflow: hidden;
	box-sizing: border-box;
	background: #fff;
}

/* Utility: makes direct child fill the entire page */
.rc-page-fill {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

/* Accent strip page (cover verso / back cover recto) */
.rc-page-accent-strip {
	width: 100%;
	height: 100%;
	display: block;
}

/* ══════════════════════════════════════════════════
   PAGE CONTENT LAYOUTS
   ══════════════════════════════════════════════════ */

.rc-col-content {
	padding: 40px 36px;
	background: var(--rc-white);
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}

.rc-col-image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #1a2a5e;
}

/* ── Page footer ── */
.rc-page-footer {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--rc-border);
	font-size: 10px;
	color: var(--rc-text-light);
	letter-spacing: .05em;
	display: flex;
	justify-content: space-between;
}

/* ── Divider ── */
.rc-divider {
	border: none;
	border-top: 2px solid var(--rc-accent);
	margin: 12px 0 16px;
	width: 40px;
}

/* ══════════════════════════════════════════════════
   TYPE: COVER
   ══════════════════════════════════════════════════ */
/* .rc-cover wrapper removed — cover content is now a single .rc-page */

.rc-cover-left {
	background-size: cover;
	background-position: center;
	background-color: #0d1b3e;
	position: relative;
	display: flex;
	align-items: flex-end;
}

.rc-cover-overlay {
	padding: 40px 48px;
	background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
	width: 100%;
}

.rc-cover-brand {
	display: block;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .55em;
	color: rgba(255,255,255,.85);
	margin-bottom: 14px;
	font-family: 'Garamond', 'Georgia', serif;
}

.rc-cover-title {
	font-size: clamp(28px, 5vw, 52px);
	font-weight: 900;
	color: rgba(220,230,255,.95);
	margin: 0 0 14px;
	line-height: 1;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.rc-cover-subtitle {
	font-size: clamp(10px, 1.2vw, 13px);
	font-weight: 700;
	color: rgba(255,255,255,.8);
	letter-spacing: .06em;
	text-transform: uppercase;
	margin: 0;
}

/* ── Brand logo (imagen) ── */
.rc-brand-logo {
	display: block;
	width: 140px;
	height: auto;
	object-fit: contain;
}

.rc-cover-logo {
	margin-bottom: 18px;
	/* Si subís el logo negro, esto lo pone en blanco automáticamente */
	filter: brightness(0) invert(1);
}

.rc-back-logo {
	margin-bottom: 20px;
	filter: brightness(0) invert(1);
}

/* .rc-cover-strip removed — accent strip is now a full .rc-page via .rc-page-accent-strip */

/* ══════════════════════════════════════════════════
   TYPE: DARK QUOTE
   ══════════════════════════════════════════════════ */
.rc-dark-quote {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 10%;
	box-sizing: border-box;
}

.rc-dq-text {
	font-size: clamp(11px, 1.3vw, 14px);
	font-weight: 700;
	color: #FFFFFF;
	line-height: 1.7;
	letter-spacing: .04em;
	text-align: center;
	text-transform: uppercase;
	margin: 0;
}

/* ══════════════════════════════════════════════════
   TYPE: INTRO SPREAD
   ══════════════════════════════════════════════════ */
.rc-eyebrow {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rc-text-light);
	margin: 0 0 18px;
}

.rc-intro-title {
	font-size: clamp(18px, 2.8vw, 30px);
	font-weight: 900;
	color: var(--rc-text);
	margin: 0 0 10px;
	text-transform: uppercase;
	line-height: 1.1;
}

.rc-intro-subtitle {
	font-size: clamp(12px, 1.3vw, 15px);
	font-weight: 600;
	color: var(--rc-text-mid);
	margin: 0;
}

.rc-intro-body {
	font-size: clamp(11px, 1.1vw, 13px);
	color: var(--rc-text-mid);
	line-height: 1.7;
	margin: 0;
}

.rc-intro-inner {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.rc-package-img {
	width: 140px;
	margin-top: 24px;
	align-self: flex-end;
}

/* ══════════════════════════════════════════════════
   TYPE: FEATURES SPREAD
   ══════════════════════════════════════════════════ */
.rc-feat-left {
	justify-content: flex-start;
	padding-top: 50px;
}

.rc-feat-title {
	font-size: clamp(18px, 2.5vw, 28px);
	font-weight: 900;
	color: var(--rc-text);
	text-transform: uppercase;
	margin: 0 0 28px;
	line-height: 1.1;
}

.rc-feat-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--rc-border);
}

.rc-feat-list li {
	padding: 10px 14px;
	font-size: clamp(11px, 1.1vw, 13px);
	color: var(--rc-accent);
	border-bottom: 1px solid var(--rc-border);
	background: rgba(0,0,0,.012);
}

.rc-feat-list li:nth-child(odd) {
	background: transparent;
}

/* Right side */
.rc-feat-right {
	justify-content: center;
	gap: 20px;
}

.rc-value-title {
	font-size: clamp(14px, 1.8vw, 20px);
	font-weight: 600;
	color: var(--rc-text);
	margin: 0;
	line-height: 1.3;
}

.rc-value-title em {
	font-style: italic;
	color: var(--rc-accent);
}

.rc-icons-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 16px;
}

.rc-icon-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
}

.rc-icon-svg {
	width: 44px;
	height: 44px;
	color: var(--rc-accent);
}

.rc-icon-svg svg {
	width: 100%;
	height: 100%;
}

.rc-icon-item span {
	font-size: 11px;
	color: var(--rc-text-mid);
	line-height: 1.3;
}

.rc-tagline-bar {
	background: var(--rc-dark);
	color: #FFFFFF;
	padding: 10px 16px;
	border-radius: 3px;
	text-align: center;
}

.rc-tagline-bar strong {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .03em;
}

/* ══════════════════════════════════════════════════
   TYPE: DETAIL SPREAD
   ══════════════════════════════════════════════════ */
.rc-detail-left {
	justify-content: flex-start;
	padding-top: 36px;
	gap: 0;
	background: #F7F5F0;
}

.rc-detail-eyebrow {
	font-size: 11px;
	font-weight: 600;
	color: var(--rc-text-mid);
	margin: 0 0 4px;
}

.rc-detail-title {
	font-size: clamp(15px, 2vw, 22px);
	font-weight: 900;
	color: var(--rc-text);
	text-transform: uppercase;
	margin: 0 0 16px;
	line-height: 1.1;
}

.rc-detail-subtitle {
	font-size: clamp(13px, 1.5vw, 16px);
	font-weight: 900;
	color: var(--rc-text);
	text-transform: uppercase;
	margin: 16px 0 12px;
}

.rc-detail-photo {
	width: 100%;
	max-height: 140px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 14px;
}

.rc-detail-list {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	border-top: 1px solid var(--rc-border);
}

.rc-detail-list li {
	padding: 6px 10px;
	font-size: clamp(10px, 1vw, 12px);
	color: var(--rc-accent);
	border-bottom: 1px solid var(--rc-border);
}

.rc-detail-list-cols {
	columns: 2;
}

.rc-optional-block {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--rc-border);
}

.rc-optional-title {
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--rc-accent);
	margin: 0 0 6px;
}

.rc-optional-body {
	font-size: 10px;
	color: var(--rc-text-mid);
	line-height: 1.5;
	margin: 0 0 8px;
}

/* Benefits right */
.rc-benefits-right {
	justify-content: center;
	background: var(--rc-white);
}

.rc-benefit-photo {
	width: 100%;
	max-height: 160px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 18px;
}

.rc-benefit-title {
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 900;
	color: var(--rc-text);
	text-transform: uppercase;
	margin: 0 0 6px;
	line-height: 1;
}

.rc-benefit-subtitle {
	font-size: clamp(12px, 1.2vw, 14px);
	font-weight: 600;
	color: var(--rc-text-mid);
	margin: 0 0 16px;
}

.rc-benefit-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--rc-border);
}

.rc-benefit-list li {
	padding: 9px 12px;
	font-size: clamp(11px, 1.1vw, 13px);
	color: var(--rc-text-mid);
	border-bottom: 1px solid var(--rc-border);
}

/* ══════════════════════════════════════════════════
   TYPE: PROCESS SPREAD
   ══════════════════════════════════════════════════ */
.rc-process-left {
	justify-content: flex-start;
	padding-top: 48px;
	gap: 20px;
	background: var(--rc-white);
}

.rc-process-title {
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 900;
	text-transform: uppercase;
	color: var(--rc-text);
	margin: 0;
	line-height: 1;
}

.rc-process-subtitle {
	font-size: clamp(12px, 1.2vw, 14px);
	font-weight: 600;
	color: var(--rc-text-mid);
	margin: 0;
}

.rc-steps-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.rc-step {
	border: 2px solid var(--rc-accent);
	border-radius: 6px;
	padding: 14px 12px;
}

.rc-step-num {
	display: block;
	font-size: clamp(20px, 3vw, 32px);
	font-weight: 900;
	color: var(--rc-accent);
	line-height: 1;
	margin-bottom: 6px;
}

.rc-step-label {
	font-size: clamp(10px, 1vw, 12px);
	font-weight: 700;
	color: var(--rc-text);
	margin: 0;
	line-height: 1.3;
}

/* Promo right panel */
.rc-promo-right {
	background: #1a2a5e;
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	padding: 28px;
	gap: 0;
	position: relative;
}

.rc-promo-right::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(20,40,100,.3) 0%, rgba(10,20,60,.7) 100%);
}

.rc-promo-card {
	background: rgba(255,255,255,.97);
	border-radius: 8px;
	padding: 20px 22px;
	width: 100%;
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}

.rc-promo-eyebrow {
	font-size: 14px;
	font-weight: 400;
	color: var(--rc-text-mid);
	margin: 0 0 2px;
}

.rc-promo-brand {
	font-size: clamp(16px, 2.2vw, 24px);
	font-weight: 900;
	color: var(--rc-text);
	margin: 0 0 10px;
}

.rc-promo-body {
	font-size: 12px;
	color: var(--rc-text-mid);
	line-height: 1.5;
	margin: 0 0 14px;
}

.rc-promo-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--rc-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	padding: 6px 14px;
	border-radius: 4px;
	margin-bottom: 12px;
}

.rc-promo-cta {
	font-size: 11px;
	font-weight: 700;
	color: var(--rc-accent);
	text-align: center;
	background: rgba(0,0,0,.04);
	padding: 8px;
	border-radius: 4px;
	margin: 0;
}

.rc-promo-note {
	font-size: 9px;
	color: rgba(255,255,255,.7);
	line-height: 1.5;
	margin: 10px 0 0;
	position: relative;
	z-index: 1;
}

/* ══════════════════════════════════════════════════
   TYPE: BACK COVER
   ══════════════════════════════════════════════════ */
.rc-back-main {
	display: flex;
	align-items: center;
	justify-content: center;
}

.rc-back-inner {
	text-align: center;
	padding: 40px;
}

.rc-back-brand {
	display: block;
	font-size: 28px;
	font-weight: 400;
	letter-spacing: .55em;
	color: rgba(255,255,255,.9);
	margin-bottom: 20px;
	font-family: 'Garamond', 'Georgia', serif;
}

.rc-back-tagline {
	font-size: clamp(10px, 1.2vw, 13px);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255,255,255,.8);
	margin: 0 0 32px;
}

.rc-back-social {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: center;
}

.rc-back-social span {
	font-size: 11px;
	color: rgba(255,255,255,.55);
}

/* ══════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════ */
.rc-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 20px;
	background: #F0EDE6;
	border-top: 1px solid #DDD9D0;
	gap: 12px;
}

.rc-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 2.5px solid var(--rc-accent, #2B4A8F);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background .2s, border-color .2s, transform .15s;
	flex-shrink: 0;
	/* color controla el stroke via currentColor */
	color: var(--rc-accent, #2B4A8F);
}

.rc-nav-btn svg {
	width: 20px;
	height: 20px;
	display: block;
	overflow: visible;
}

/* Las flechas usan currentColor para heredar el color del botón */
.rc-nav-btn svg polyline {
	stroke: currentColor;
	stroke-width: 2.5px;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
}

.rc-nav-btn:hover:not(:disabled) {
	background: var(--rc-accent, #2B4A8F);
	color: #ffffff;
}

.rc-nav-btn:active:not(:disabled) {
	transform: scale(.92);
}

.rc-nav-btn:disabled {
	opacity: .3;
	cursor: default;
}

.rc-nav-info {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #666;
}

.rc-current-spread {
	font-weight: 800;
	color: var(--rc-accent, #2B4A8F);
}

.rc-index-btn {
	background: var(--rc-accent, #2B4A8F);
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 4px 12px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	cursor: pointer;
	transition: opacity .2s;
	margin-left: 6px;
}

.rc-index-btn:hover {
	opacity: .82;
}

/* ══════════════════════════════════════════════════
   INDEX PANEL
   ══════════════════════════════════════════════════ */
.rc-index-panel {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(242, 239, 232, 0.98);
	z-index: 200;
	border-radius: 4px;
	overflow-y: auto;
}

.rc-index-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	border-bottom: 1px solid #DDD9D0;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	color: var(--rc-accent, #2B4A8F);
	text-transform: uppercase;
	position: sticky;
	top: 0;
	background: inherit;
}

.rc-close-index {
	background: none;
	border: none;
	font-size: 16px;
	cursor: pointer;
	color: #888;
	line-height: 1;
	transition: color .2s;
}

.rc-close-index:hover {
	color: var(--rc-accent, #2B4A8F);
}

.rc-index-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 12px;
	padding: 16px;
}

.rc-index-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	text-align: center;
	transition: transform .2s;
}

.rc-index-item:hover {
	transform: translateY(-2px);
}

.rc-index-thumb {
	width: 84px;
	height: 58px;
	background: #fff;
	border: 2px solid #DDD9D0;
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 800;
	color: var(--rc-accent);
	transition: border-color .2s;
}

.rc-index-item:hover .rc-index-thumb {
	border-color: var(--rc-accent);
}

.rc-index-item span {
	font-size: 9.5px;
	color: #666;
	line-height: 1.3;
	max-width: 110px;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */
@media (max-width: 900px) {
	.rc-col-content {
		padding: 28px 24px;
	}

	.rc-icons-grid {
		grid-template-columns: 1fr 1fr;
	}

	.rc-steps-grid {
		grid-template-columns: 1fr 1fr;
	}

	.rc-promo-right {
		padding: 24px;
	}

	.rc-detail-list-cols {
		columns: 1;
	}
}

@media (max-width: 600px) {
	.rc-cover-overlay {
		padding: 28px 24px;
	}

	.rc-navigation {
		padding: 10px 12px;
	}

	.rc-steps-grid {
		grid-template-columns: 1fr 1fr;
	}

	.rc-icons-grid {
		grid-template-columns: 1fr 1fr;
	}

	.rc-nav-info {
		font-size: 12px;
	}

	.rc-index-grid {
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	}
}
