/* ==========================================================================
   RAP · Sistema visual (tokens tomados de lovable/docs/design-tokens.md)
   ========================================================================== */

@font-face {
	font-family: "Avenir RAP";
	src: url("../fonts/avenir-rap-400.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Provicali";
	src: url("../fonts/provicali.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--brand: oklch(0.57 0.235 27);
	--brand-dark: oklch(0.45 0.19 27);
	--ink: oklch(0.105 0 0);
	--paper: #fff;
	--panel: oklch(0.935 0.008 80);
	--muted: oklch(0.48 0 0);
	--border: oklch(0.929 0.013 255.508);
	--placeholder: oklch(0.9 0 0);
	--font-sans: "Avenir RAP", Arial, sans-serif;
	--font-display: "Provicali", "Avenir RAP", Arial, sans-serif;
	--hero-wash: linear-gradient(90deg, oklch(0.06 0 0 / 82%) 0%, oklch(0.08 0 0 / 30%) 58%, oklch(0.08 0 0 / 50%) 100%);
	--governance-wash: linear-gradient(0deg, oklch(0.08 0 0 / 76%) 0%, oklch(0.08 0 0 / 8%) 68%);
	--news-wash: linear-gradient(90deg, oklch(0.57 0.235 27 / 91%) 0%, oklch(0.57 0.235 27 / 45%) 100%);
	--contact-wash: linear-gradient(90deg, oklch(0.08 0 0 / 84%) 0%, oklch(0.08 0 0 / 25%) 72%);
	--pad-x: 24px;
	--container: 1240px;
}

@media (min-width: 1024px) {
	:root { --pad-x: 44px; }
}

/* ---------- Base (sobrescribe a Goya en el ámbito del sitio) ---------- */
html.rap-lock { overflow: hidden; }

body.rap-site {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
}

.rap-site .header-spacer,
.rap-site .site-header,
.rap-site .mobile-header { display: none !important; }

.rap-site #wrapper,
.rap-site .page-wrapper-inner,
.rap-site .site-content { background: var(--paper); padding: 0; margin: 0; }

.rap-site *,
.rap-site *::before,
.rap-site *::after { box-sizing: border-box; }

.rap-site a { color: inherit; text-decoration: none; letter-spacing: 0; transition: color .15s, background-color .15s, border-color .15s; }
.rap-site button { letter-spacing: 0; font-family: inherit; }
.rap-site img { max-width: 100%; }

:where(.rap-site) :where(h1, h2, h3, h4) {
	font-family: var(--font-display);
	letter-spacing: 1px;
	font-weight: 400;
	color: inherit;
	margin: 0;
	text-transform: none;
}

.rap-page p { margin: 0; }
.rap-page ul, .rap-page ol { margin: 0; padding: 0; list-style: none; }
.rap-page dl, .rap-page dd, .rap-page dt { margin: 0; }
.rap-page figure { margin: 0; }
.rap-page strong { color: var(--ink); font-weight: 700; }
.rap-hl { color: var(--brand); }

.rap-ico { width: 16px; height: 16px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.rap-ico--xs { width: 12px; height: 12px; }
.rap-ico--sm { width: 16px; height: 16px; }

/* utilidades */
.rap-c-brand { color: var(--brand) !important; }
.rap-c-ink { color: var(--ink) !important; }
.rap-c-paper { color: var(--paper) !important; }
.rap-c-muted { color: var(--muted) !important; }
.rap-bg-brand { background: var(--brand); color: var(--paper); }
.rap-bg-brand-dark { background: var(--brand-dark); color: var(--paper); }
.rap-bg-brand-70 { background: oklch(0.57 0.235 27 / 70%); color: var(--paper); }
.rap-bg-ink { background: var(--ink); color: var(--paper); }
.rap-ta-center { text-align: center; }
.rap-muted { color: var(--muted); }
.rap-op-top { object-position: top !important; }
.rap-op-right { object-position: right !important; }
.rap-maxw-md { max-width: 448px; }
.rap-maxw-xl { max-width: 576px; }
.rap-maxw-2xl { max-width: 672px; }
.rap-maxw-3xl { max-width: 768px; }
.rap-maxw-4xl { max-width: 896px; }
.rap-mx-auto { margin-left: auto; margin-right: auto; }
.rap-mt-2 { margin-top: 8px !important; }
.rap-mt-3 { margin-top: 12px !important; }
.rap-mt-4 { margin-top: 16px !important; }
.rap-mt-5 { margin-top: 20px !important; }
.rap-mt-6 { margin-top: 24px !important; }
.rap-mt-7 { margin-top: 28px !important; }
.rap-mt-8 { margin-top: 32px !important; }
.rap-mt-10 { margin-top: 40px !important; }
.rap-mt-12 { margin-top: 48px !important; }
.rap-mt-14 { margin-top: 56px !important; }
.rap-mt-16 { margin-top: 64px !important; }
.rap-mt-20 { margin-top: 80px !important; }
.rap-mb-8 { margin-bottom: 32px !important; }
@media (min-width: 640px) { .rap-hide-xs { display: inline-flex !important; } }
@media (max-width: 639px) { .rap-hide-xs { display: none !important; } }
@media (max-width: 767px) { .rap-hide-sm { display: none !important; } }

/* Animaciones */
@keyframes rap-hero-title-enter {
	from { opacity: 0; transform: translateY(.55em); }
	to { opacity: 1; transform: translateY(0); }
}
.hero-title span { display: block; animation: rap-hero-title-enter 700ms cubic-bezier(.22, 1, .36, 1) both; }
.hero-title span:nth-child(2) { animation-delay: 120ms; }
.hero-title span:nth-child(3) { animation-delay: 240ms; }
.scroll-reveal { opacity: 0; transform: translateY(.6em); transition: opacity 700ms cubic-bezier(.22, 1, .36, 1), transform 700ms cubic-bezier(.22, 1, .36, 1); }
.scroll-reveal.is-visible { opacity: 1; transform: none; }
.vc_editor .scroll-reveal, .compose-mode .scroll-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.scroll-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.rap-header { position: relative; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--border); font-family: var(--font-sans); }
.rap-topbar { border-bottom: 1px solid var(--border); }
.rap-topbar__in { max-width: 1440px; margin: 0 auto; min-height: 36px; padding: 0 20px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.rap-topbar__in a { display: inline-flex; align-items: center; gap: 6px; }
.rap-topbar__in a:hover { color: var(--brand); }
.rap-header__main { max-width: 1440px; margin: 0 auto; height: 80px; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.rap-header__logo { min-width: 0; display: inline-flex; }
.rap-logo { height: 44px; width: auto; }
.rap-logo--compact { height: 36px; }
.rap-nav { display: none; }
.rap-burger { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; padding: 0; }
.rap-burger .rap-ico { width: 24px; height: 24px; }
.rap-burger:hover { background: var(--brand); color: var(--paper); }

@media (min-width: 1024px) {
	.rap-topbar__in, .rap-header__main { padding: 0 32px; }
	.rap-header__main { height: 96px; }
	.rap-logo { height: 48px; }
	.rap-burger { display: none; }
	.rap-nav { display: flex; align-items: stretch; align-self: stretch; }
}

.rap-nav__item { position: relative; display: flex; align-items: center; }
.rap-nav__top { height: 100%; display: inline-flex; align-items: center; gap: 8px; padding: 0 8px; border: 0; background: transparent; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--muted); cursor: pointer; white-space: nowrap; }
.rap-nav__top:hover, .rap-nav__item:hover > .rap-nav__top, .rap-nav__top[aria-current="page"] { color: var(--brand); }
.rap-nav__chev { transition: transform .2s; }
.rap-nav__item:hover .rap-nav__chev, .rap-nav__item:focus-within .rap-nav__chev, .rap-nav__item.is-open .rap-nav__chev { transform: rotate(180deg); }
@media (min-width: 1280px) { .rap-nav__top { padding: 0 12px; font-size: 15px; } }
.rap-nav__sub { position: absolute; right: 0; top: 100%; width: 256px; border-top: 2px solid var(--brand); background: var(--paper); padding: 8px; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%); visibility: hidden; opacity: 0; transform: translateY(8px); transition: all .15s; }
.rap-nav__item:hover > .rap-nav__sub, .rap-nav__item:focus-within > .rap-nav__sub, .rap-nav__item.is-open > .rap-nav__sub { visibility: visible; opacity: 1; transform: none; }
.rap-nav__link { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.rap-nav__link:hover, .rap-nav__link[aria-current="page"] { background: var(--brand); color: var(--paper); }
.rap-nav__link--deep { padding: 8px 16px 8px 32px; text-transform: none; }
.rap-nav__group { border-top: 1px solid var(--border); padding-top: 8px; }
.rap-nav__group-title { margin: 0; padding: 8px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--ink); }

/* Menú móvil */
.rap-drawer { position: fixed; inset: 0; z-index: 1000; }
.rap-drawer__overlay { position: absolute; inset: 0; background: rgb(0 0 0 / 80%); opacity: 0; transition: opacity .25s; }
.rap-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: 90vw; max-width: 448px; overflow-y: auto; background: var(--paper); border-left: 1px solid var(--brand); padding: 24px; color: var(--muted); box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%); transform: translateX(100%); transition: transform .25s ease; font-family: var(--font-sans); }
.rap-drawer.is-open .rap-drawer__overlay { opacity: 1; }
.rap-drawer.is-open .rap-drawer__panel { transform: none; }
.rap-drawer__close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); cursor: pointer; opacity: .7; }
.rap-drawer__close:hover { opacity: 1; }
.rap-drawer__head { border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.rap-drawer__head p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.rap-drawer__nav { margin-top: 16px; }
.rap-drawer__acc { border-bottom: 1px solid var(--border); }
.rap-drawer__acc summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); cursor: pointer; list-style: none; }
.rap-drawer__acc summary::-webkit-details-marker { display: none; }
.rap-drawer__acc[open] summary .rap-ico { transform: rotate(180deg); }
.rap-drawer__links { display: grid; gap: 4px; padding-bottom: 16px; }
.rap-drawer__link { display: flex; align-items: center; gap: 8px; border-left: 2px solid var(--brand); padding: 8px 16px; font-size: 12px; color: var(--muted); }
.rap-drawer__link:hover { background: var(--brand); color: var(--paper); }
.rap-drawer__link--deep { margin-left: 16px; border-left: 1px solid var(--border); }
.rap-drawer__group { margin-top: 8px; border-left: 2px solid var(--brand); padding: 8px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.rap-drawer__top { display: flex; align-items: center; height: 56px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.rap-drawer__top:hover { color: var(--brand); }
.rap-drawer__contact { margin-top: 24px; display: grid; gap: 12px; border-top: 1px solid var(--border); padding-top: 24px; font-size: 12px; }
.rap-drawer__contact a:not(.rap-btn) { display: flex; align-items: center; gap: 8px; }
.rap-drawer__contact a:not(.rap-btn):hover { color: var(--brand); }

/* ==========================================================================
   Footer
   ========================================================================== */
.rap-footer { background: var(--paper); padding: 40px 28px; font-size: 14px; color: var(--muted); font-family: var(--font-sans); }
.rap-footer__in { max-width: 1340px; margin: 0 auto; display: grid; gap: 32px; border-top: 1px solid var(--border); padding-top: 32px; }
.rap-footer__brand p { margin: 16px 0 0; }
.rap-footer__col { display: grid; gap: 8px; align-content: end; }
.rap-footer__col strong { font-size: 12px; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.rap-footer__col a:hover { color: var(--brand); }
.rap-footer__legal p { margin: 0; }
.rap-footer__legal p + p { margin-top: 8px; }
@media (min-width: 768px) {
	.rap-footer__in { grid-template-columns: 1fr auto auto auto; align-items: end; }
	.rap-footer__legal { text-align: right; }
}
@media (min-width: 1024px) { .rap-footer { padding: 40px 48px; } }

/* ==========================================================================
   Secciones = filas de WPBakery
   ========================================================================== */
.rap-page { display: block; font-family: var(--font-sans); color: var(--ink); background: var(--paper); }
.rap-page .vc_row { margin-left: 0; margin-right: 0; }
.rap-page .vc_column_container { padding-left: 0; padding-right: 0; }
.rap-page .vc_column_container > .vc_column-inner { padding-left: 0; padding-right: 0; padding-top: 0; }
.rap-page .wpb_content_element,
.rap-page .wpb_text_column,
.rap-page .wpb_wrapper > *:last-child,
.rap-page .vc_row.wpb_row { margin-bottom: 0; }
.rap-page .vc_column-inner > .wpb_wrapper { min-width: 0; }

.rap-sec {
	position: relative;
	padding: 64px max(var(--pad-x), calc((100% - var(--container)) / 2 + var(--pad-x)));
}
@media (min-width: 1024px) { .rap-sec { padding-top: 96px; padding-bottom: 96px; } }
.rap-sec--wide { --container: 1340px; }
.rap-sec--wide-x { --container: 1440px; }
.rap-sec--intro { padding-top: 56px; padding-bottom: 48px; }
.rap-sec--intro-lg { padding-top: 56px; padding-bottom: 56px; }
.rap-sec--intro-news { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 1024px) {
	.rap-sec--intro, .rap-sec--intro-lg, .rap-sec--intro-news { padding-top: 80px; }
	.rap-sec--intro-legal { padding-bottom: 64px; }
}
.rap-sec--py20 { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 1024px) { .rap-sec--py20 { padding-top: 80px; padding-bottom: 80px; } }
.rap-sec--side { padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 1024px) { .rap-sec--side { padding-top: 64px; padding-bottom: 64px; } }
.rap-sec--side-lg { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 1024px) { .rap-sec--side-lg { padding-top: 96px; padding-bottom: 96px; } }
.rap-sec--legal { padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 1024px) { .rap-sec--legal { padding-top: 80px; padding-bottom: 80px; } }
.rap-sec--list { padding-top: 64px; padding-bottom: 64px; }
.rap-sec--board { padding-top: 80px; padding-bottom: 0; }
.rap-sec--board-end { padding-top: 80px; padding-bottom: 80px; }
@media (min-width: 1024px) {
	.rap-sec--board { padding-top: 112px; }
	.rap-sec--board-end { padding-top: 112px; padding-bottom: 112px; }
}
.rap-sec--pt0 { padding-top: 0 !important; }
.rap-sec--pb0 { padding-bottom: 0 !important; }
.rap-sec--bt { border-top: 1px solid var(--border); }
.rap-sec--bb { border-bottom: 1px solid var(--border); }
.rap-sec--by { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rap-sec--ink { background: var(--ink); color: var(--paper); }
.rap-sec--panel { background: var(--panel); }
.rap-sec--brand { background: var(--brand); color: var(--paper); }
.rap-sec--flush { padding: 0 !important; }

/* Cuadrículas: clase rap-g-A-B en una fila (vc_row o vc_row_inner) */
.rap-page .vc_row[class*="rap-g-"] { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap, 40px); }
.rap-page .vc_row[class*="rap-g-"]::before,
.rap-page .vc_row[class*="rap-g-"]::after { display: none; content: none; }
.rap-page .vc_row[class*="rap-g-"] > .wpb_column { width: auto; float: none; min-width: 0; }
.rap-page .vc_row.rap-sec[class*="rap-g-"] { display: grid; }
.rap-gap-5 { --gap: 20px; }
.rap-gap-6 { --gap: 24px; }
.rap-gap-8 { --gap: 32px; }
.rap-gap-10 { --gap: 40px; }
.rap-items-end { align-items: end; }
.rap-items-center { align-items: center; }
.rap-items-start { align-items: start; }
@media (min-width: 640px) {
	.rap-page .vc_row.rap-g-sm-1-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	.rap-page .vc_row.rap-g-md-1-260 { grid-template-columns: minmax(0, 1fr) 260px; align-items: center; }
}
@media (min-width: 1024px) {
	.rap-lg-gap-12 { --gap: 48px; }
	.rap-lg-gap-14 { --gap: 56px; }
	.rap-lg-gap-16 { --gap: 64px; }
	.rap-lg-gap-20 { --gap: 80px; }
	.rap-page .vc_row.rap-g-1-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rap-page .vc_row.rap-g-15-10 { grid-template-columns: 1.5fr 1fr; }
	.rap-page .vc_row.rap-g-14-10 { grid-template-columns: 1.4fr 1fr; }
	.rap-page .vc_row.rap-g-12-08 { grid-template-columns: 1.2fr .8fr; }
	.rap-page .vc_row.rap-g-115-085 { grid-template-columns: 1.15fr .85fr; }
	.rap-page .vc_row.rap-g-11-09 { grid-template-columns: 1.1fr .9fr; }
	.rap-page .vc_row.rap-g-10-115 { grid-template-columns: 1fr 1.15fr; }
	.rap-page .vc_row.rap-g-10-11 { grid-template-columns: 1fr 1.1fr; }
	.rap-page .vc_row.rap-g-09-11 { grid-template-columns: .9fr 1.1fr; }
	.rap-page .vc_row.rap-g-085-115 { grid-template-columns: .85fr 1.15fr; }
	.rap-page .vc_row.rap-g-08-12 { grid-template-columns: .8fr 1.2fr; }
	.rap-page .vc_row.rap-g-07-13 { grid-template-columns: .7fr 1.3fr; }
	.rap-page .vc_row.rap-g-side { grid-template-columns: 220px minmax(0, 1fr); }
	.rap-page .vc_row.rap-g-side-240 { grid-template-columns: 240px minmax(0, 1fr); }
	.rap-page .vc_row.rap-g-side-230 { grid-template-columns: 230px minmax(0, 1fr); }
}
@media (min-width: 1280px) {
	.rap-page .vc_row.rap-g-xl-10-09 { grid-template-columns: 1fr .9fr; --gap: 48px; }
}

/* Sub-secciones dentro de un índice lateral */
.rap-page .vc_row.rap-sub { padding-top: 48px; border-top: 1px solid var(--border); }
.rap-page .wpb_wrapper > .vc_row.rap-sub:first-child { padding-top: 0; border-top: 0; }
.rap-page .vc_row.rap-sub-next { margin-top: 32px; }
.rap-page .vc_row.rap-sub-end { padding-bottom: 48px; }
.rap-page .wpb_wrapper > .vc_row.rap-sub-end:last-child { padding-bottom: 0; }
@media (min-width: 1024px) {
	.rap-page .vc_row.rap-sub.rap-sub--lg { padding-top: 64px; }
	.rap-page .vc_row.rap-sub-end.rap-sub--lg { padding-bottom: 64px; }
}
.rap-page .vc_row.rap-sub--doc { padding-top: 40px; }
.rap-page .vc_row.rap-sub-end.rap-sub--doc { padding-bottom: 40px; }

.rap-sticky { position: static; }
@media (min-width: 1024px) {
	.rap-page .wpb_column.rap-sticky { position: sticky; top: 24px; align-self: start; }
}

/* Texto (vc_column_text) */
.rap-page .wpb_text_column { color: var(--muted); font-size: 16px; line-height: 28px; }
.rap-page .wpb_text_column p + p,
.rap-page .rap-rich p + p { margin-top: 16px; }
.rap-page .wpb_text_column.rap-text-gap-5 p + p { margin-top: 20px; }
.rap-page .wpb_text_column.rap-text-lg { font-size: 20px; line-height: 32px; color: var(--ink); }
.rap-page .wpb_text_column.rap-text-lead { font-size: 17px; line-height: 32px; }
.rap-page .wpb_text_column.rap-text-sm { font-size: 14px; line-height: 24px; }
@media (min-width: 1024px) { .rap-page .wpb_text_column.rap-text-sm-lg { font-size: 16px; line-height: 28px; } }
.rap-page .wpb_text_column.rap-text-ink { color: var(--ink); }
.rap-page .rap-sec--ink .wpb_text_column { color: oklch(1 0 0 / 75%); }
.rap-page .rap-sec--ink .wpb_text_column.rap-text-80 { color: oklch(1 0 0 / 80%); }
.rap-page .wpb_text_column a { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.rap-page .wpb_text_column ul { list-style: disc; padding-left: 20px; }
.rap-page .wpb_text_column ul li + li { margin-top: 12px; }
.rap-page .wpb_text_column ul li::marker { color: var(--brand); }
.rap-page .wpb_text_column .rap-split { padding-top: 24px; margin-top: 24px; border-top: 1px solid oklch(1 0 0 / 30%); }
.rap-lead { color: var(--muted); font-size: 16px; line-height: 28px; }
.rap-lead p + p { margin-top: 16px; }
.rap-lead-sm { color: var(--muted); font-size: 14px; line-height: 24px; max-width: 448px; }

/* ==========================================================================
   Títulos
   ========================================================================== */
.rap-h { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 1px; margin: 0; color: inherit; }
.rap-h em { font-style: italic; }
.rap-h--page { font-size: 40px; line-height: 1.12; }
.rap-h--page-tight, .rap-h--page-sm { font-size: 40px; line-height: 1.25; }
.rap-h--banner, .rap-h--banner-xl { font-size: 40px; line-height: .9; }
.rap-h--banner-sm { font-size: 32px; line-height: .95; }
.rap-h--section { font-size: 32px; line-height: 1.25; }
.rap-h--section-flat { font-size: 32px; line-height: 1.25; }
.rap-h--section-md { font-size: 26px; line-height: 1.25; }
.rap-h--section-sm { font-size: 22px; line-height: 1.25; }
.rap-h--h3-lg { font-size: 26px; line-height: 1.2; }
.rap-h--h3 { font-size: 22px; line-height: 1.25; }
.rap-h--h3-sm { font-size: 19px; line-height: 1.4; }
.rap-h--h4 { font-size: 17px; line-height: 1.55; }
.rap-h--figure { font-size: 26px; line-height: 1.2; color: var(--brand); }
.rap-h--article { font-size: 32px; line-height: 1.25; margin-top: 16px; }
.rap-h--display { font-size: 40px; line-height: .9; font-weight: 500; }
.rap-h--display-sm { font-size: 32px; line-height: 1; font-weight: 500; }
.rap-h--display-md { font-size: 32px; line-height: 1; font-weight: 500; }
.rap-h--editorial { font-size: clamp(2.7rem, 5.3vw, 5.9rem); line-height: .9; font-weight: 500; max-width: 768px; }
.rap-h--editorial-xl { font-size: clamp(3.1rem, 6.4vw, 7rem); line-height: .86; font-weight: 500; max-width: 672px; }
@media (min-width: 1024px) {
	.rap-h--page { font-size: 56px; line-height: 1.06; }
	.rap-h--page-tight { font-size: 56px; }
	.rap-h--page-sm { font-size: 48px; }
	.rap-h--banner { font-size: 56px; }
	.rap-h--banner-xl { font-size: 68px; }
	.rap-h--banner-sm { font-size: 48px; }
	.rap-h--section { font-size: 40px; }
	.rap-h--section-md { font-size: 32px; }
	.rap-h--section-sm { font-size: 26px; }
	.rap-h--article { font-size: 40px; }
	.rap-h--display { font-size: 56px; }
	.rap-h--display-sm { font-size: 40px; }
	.rap-h--display-md { font-size: 48px; }
}

/* ==========================================================================
   Etiquetas y botones
   ========================================================================== */
.rap-label { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 12px; line-height: 16px; text-transform: uppercase; color: var(--muted); }
.rap-label--line-bold { font-weight: 500; }
.rap-label__num { color: var(--brand); }
.rap-label__bar { width: 32px; height: 1px; background: var(--brand); }
.rap-label--crumb { margin-bottom: 0; }
.rap-label--brand { margin-bottom: 0; color: var(--brand); font-weight: 500; }
.rap-label--paper { margin-bottom: 0; color: var(--paper); font-weight: 500; }
.rap-label--muted { margin-bottom: 0; color: var(--muted); font-weight: 500; }
.rap-sec--ink .rap-label--line, .rap-sec--ink .rap-label--line-bold { color: oklch(1 0 0 / 70%); }
.rap-eyebrow { margin: 0; font-size: 12px; line-height: 16px; font-weight: 500; text-transform: uppercase; }

.rap-btn-wrap { display: block; }
.rap-btn-row { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.rap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; padding: 16px 24px; border: 0; border-radius: 0; box-shadow: none; font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.rap-btn .rap-ico { width: 16px; height: 16px; }
.rap-site .rap-btn--dark { background: var(--ink); color: var(--paper); }
.rap-site .rap-btn--dark:hover { background: var(--brand); color: var(--paper); }
.rap-site .rap-btn--ink-hover-brand { background: var(--ink); color: var(--paper); }
.rap-site .rap-btn--ink-hover-brand:hover { background: var(--brand); color: var(--ink); }
.rap-site .rap-btn--brand { background: var(--brand); color: var(--paper); }
.rap-site .rap-btn--brand:hover { background: var(--brand-dark); color: var(--paper); }
.rap-site .rap-btn--inverse { background: var(--paper); color: var(--brand); }
.rap-site .rap-btn--inverse:hover { background: var(--ink); color: var(--paper); }
.rap-site .rap-btn--ink { background: var(--ink); color: var(--paper); padding: 8px 16px; border-radius: 8px; font-size: 14px; line-height: 20px; text-transform: none; }
.rap-site .rap-btn--ink:hover { background: oklch(0.105 0 0 / 90%); }
.rap-site .rap-btn--link, .rap-site .rap-btn--link-brand { padding: 0; background: none; font-size: 14px; line-height: 20px; text-transform: none; color: var(--ink); }
.rap-site .rap-btn--link-brand { color: var(--brand); }
.rap-site .rap-btn--link:hover, .rap-site .rap-btn--link-brand:hover { text-decoration: underline; text-underline-offset: 4px; }
.rap-btn--sm { padding: 12px 20px; }
.rap-btn--block { width: 100%; padding: 8px 16px; font-size: 14px; text-transform: none; }
.rap-more { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; color: var(--brand); }
.rap-more:hover { text-decoration: underline; }

.rap-contact-links { display: grid; gap: 12px; font-size: 14px; }
.rap-contact-links a { display: flex; align-items: flex-start; gap: 12px; word-break: break-all; }
.rap-contact-links a .rap-ico { margin-top: 2px; }
.rap-contact-links a:hover { text-decoration: underline; }

/* ==========================================================================
   Imágenes
   ========================================================================== */
.rap-figure { position: relative; overflow: hidden; background: var(--placeholder); width: 100%; }
.rap-figure .rap-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rap-figure .rap-natural { display: block; width: 100%; height: auto; }
.rap-ratio-auto { background: transparent; }
.rap-ratio-4-5 { aspect-ratio: 4 / 5; }
.rap-ratio-4-3 { aspect-ratio: 4 / 3; }
.rap-ratio-5-4 { aspect-ratio: 5 / 4; }
.rap-ratio-16-10 { aspect-ratio: 16 / 10; }
.rap-ratio-16-9 { aspect-ratio: 16 / 9; }
.rap-ratio-21-9 { aspect-ratio: 21 / 9; }
.rap-ratio-1-1 { aspect-ratio: 1; }
@media (min-width: 1024px) {
	.rap-lg-ratio-4-5 { aspect-ratio: 4 / 5; }
	.rap-lg-ratio-5-4 { aspect-ratio: 5 / 4; }
	.rap-lg-ratio-4-3 { aspect-ratio: 4 / 3; }
}
.rap-maxh-540 { max-height: 540px; }
.rap-maxh-560 { max-height: 560px; }
.rap-figure--pad { background: var(--paper); padding: 16px; }
@media (min-width: 1024px) { .rap-figure--pad { padding: 32px; } }
.rap-figure--w560 img { max-width: 560px; margin: 0 auto; }
.rap-figure--w768 { max-width: 768px; margin-left: auto; margin-right: auto; }
.rap-figure__caption { margin-bottom: 24px; text-align: center; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; letter-spacing: 1px; }
.rap-figure--scroll { background: transparent; }
.rap-scroll-x { overflow-x: auto; }
.rap-scroll-x img { display: block; min-width: 760px; width: 100%; height: auto; }
.rap-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.rap-placeholder .rap-ico { width: 40px; height: 40px; stroke-width: 1; opacity: .4; }
.rap-placeholder span { position: absolute; left: 20px; right: 20px; bottom: 20px; font-size: 11px; text-transform: uppercase; }

/* ==========================================================================
   Cifras
   ========================================================================== */
.rap-stats__caption { margin: 0 0 16px; font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--muted); }
.rap-stats { display: grid; grid-template-columns: repeat(var(--cx, 2), minmax(0, 1fr)); }
.rap-cols-xs-1 { --cx: 1; }
.rap-cols-xs-2 { --cx: 2; }
.rap-cols-xs-3 { --cx: 3; }
.rap-stat__value { font-family: var(--font-display); letter-spacing: 1px; }
.rap-stats--line { row-gap: 24px; border-top: 1px solid var(--border); padding-top: 28px; }
.rap-stats--line .rap-stat { border-left: 1px solid var(--border); padding-left: 20px; }
.rap-stats--line .rap-stat__value { font-size: 32px; line-height: 1.1; color: var(--brand); }
.rap-stats--line .rap-stat__label { margin-top: 8px; font-size: 12px; line-height: 16px; text-transform: uppercase; color: var(--muted); }
.rap-stats--line.rap-cols-xs-2 .rap-stat:nth-child(2n+1) { border-left: 0; padding-left: 0; }
.rap-stats--line.rap-cols-xs-3 .rap-stat:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.rap-stats--panel, .rap-stats--panel-ink { gap: 12px; }
.rap-stats--panel .rap-stat, .rap-stats--panel-ink .rap-stat { border-left: 4px solid var(--brand); background: var(--panel); padding: 16px 20px; }
.rap-stats--panel-ink .rap-stat { border-left-color: var(--ink); }
.rap-stats--panel .rap-stat__value, .rap-stats--panel-ink .rap-stat__value { font-size: 22px; line-height: 1.33; color: var(--ink); }
.rap-stats--panel .rap-stat__label, .rap-stats--panel-ink .rap-stat__label { margin-top: 4px; font-size: 12px; line-height: 20px; color: var(--brand); }
.rap-stats--home { border-bottom: 1px solid var(--border); }
.rap-stats--home .rap-stat { display: flex; flex-direction: column; justify-content: center; min-height: 144px; padding: 28px 20px 28px 0; }
.rap-stats--home .rap-stat:nth-child(2n) { border-left: 1px solid var(--border); padding-left: 20px; }
.rap-stats--home .rap-stat__value { font-size: 32px; line-height: 1; color: var(--brand); text-transform: uppercase; font-weight: 500; }
.rap-stats--home .rap-stat__label { margin-top: 12px; max-width: 160px; font-size: 12px; line-height: 20px; font-weight: 500; text-transform: uppercase; color: var(--muted); }
@media (min-width: 640px) {
	.rap-stats--panel.rap-cols-3, .rap-stats--panel.rap-cols-5, .rap-stats--panel-ink.rap-cols-3 { --cx: 2; }
	.rap-stats--panel-ink.rap-cols-3 { --cx: 3; }
}
@media (min-width: 1024px) {
	.rap-stats--line .rap-stat__value { font-size: 40px; }
	.rap-stats--line.rap-cols-4 { --cx: 4; }
	.rap-stats--line.rap-cols-4 .rap-stat:nth-child(n) { border-left: 1px solid var(--border); padding-left: 20px; }
	.rap-stats--line.rap-cols-4 .rap-stat:first-child { border-left: 0; padding-left: 0; }
	.rap-stats--panel .rap-stat__value { font-size: 26px; line-height: 1.2; }
	.rap-stats--home { --cx: 4; }
	.rap-stats--home .rap-stat { min-height: 176px; border-left: 1px solid var(--border); padding: 28px 32px; }
	.rap-stats--home .rap-stat:first-child { border-left: 0; padding-left: 0; }
	.rap-stats--home .rap-stat__value { font-size: 40px; }
}
@media (min-width: 1280px) {
	.rap-stats--panel.rap-cols-3 { --cx: 3; }
	.rap-stats--panel.rap-cols-5 { --cx: 5; }
}

.rap-bigfig { border-top: 1px solid var(--border); padding-top: 28px; }
.rap-bigfig__label { font-size: 12px; text-transform: uppercase; color: var(--muted); }
.rap-bigfig__value { margin-top: 12px !important; font-family: var(--font-display); font-size: 48px; line-height: 1; letter-spacing: 1px; color: var(--brand); }
.rap-bigfig__value span { margin-left: 12px; font-family: var(--font-sans); font-size: 17px; letter-spacing: 0; color: var(--ink); }
.rap-bigfig__list { margin-top: 24px !important; display: grid; gap: 12px; font-size: 14px; }
.rap-bigfig__list li { display: flex; align-items: center; gap: 12px; }
.rap-bigfig__list li span { font-size: 12px; color: var(--brand); }
@media (min-width: 1024px) { .rap-bigfig__value { font-size: 56px; } }

/* ==========================================================================
   Lista de bloques
   ========================================================================== */
.rap-items { display: grid; grid-template-columns: repeat(var(--cx, 1), minmax(0, 1fr)); gap: 12px; }
.rap-item p { margin: 0; }
.rap-item__title { color: var(--ink); }
.rap-items .rap-item p:not([class]) { font-size: 14px; line-height: 24px; color: var(--muted); }
.rap-items.is-dark .rap-item__title { color: var(--paper); }
.rap-items.has-brand-title .rap-item__title { color: var(--brand); }
@media (min-width: 640px) {
	.rap-cols-sm-1 { --cx: 1; }
	.rap-cols-sm-2 { --cx: 2; }
	.rap-cols-sm-3 { --cx: 3; }
}
@media (min-width: 1024px) {
	.rap-items.rap-cols-1 { --cx: 1; }
	.rap-items.rap-cols-2 { --cx: 2; }
	.rap-items.rap-cols-3 { --cx: 3; }
	.rap-items.rap-cols-4 { --cx: 4; }
	.rap-items.rap-cols-5 { --cx: 5; }
}

/* borde izquierdo */
.rap-items--border-left { gap: 20px; }
.rap-items--border-left .rap-item { border-left: 2px solid var(--brand); padding-left: 16px; }
.rap-items--border-left .rap-item__title { font-family: var(--font-display); font-size: 19px; line-height: 1.4; text-transform: uppercase; letter-spacing: 1px; }
.rap-items--border-left .rap-item p:not([class]) { margin-top: 8px; }

/* misión / visión */
.rap-items--statement { gap: 40px; }
.rap-items--statement .rap-item { border-left: 2px solid var(--ink); padding-left: 24px; }
.rap-items--statement .rap-item:first-child { border-left-color: var(--brand); }
.rap-items--statement .rap-item:first-child .rap-item__title { color: var(--brand); }
.rap-items--statement .rap-item__title { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; letter-spacing: 1px; }
.rap-items--statement .rap-item p:not([class]) { margin-top: 16px; font-size: 16px; line-height: 28px; }
@media (min-width: 1024px) { .rap-items--statement { column-gap: 80px; } }

/* paneles */
.rap-items--panel-left { gap: 16px; }
.rap-items--panel-left .rap-item { border-left: 4px solid var(--brand); background: var(--panel); padding: 20px; }
.rap-items--panel-left .rap-item__title { font-size: 14px; font-weight: 500; text-transform: uppercase; }
.rap-items--panel-left .rap-item p:not([class]) { margin-top: 8px; }

.rap-circle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: var(--brand); color: var(--paper); font-size: 14px; font-weight: 500; }
.rap-circle--sm { width: 36px; height: 36px; }
.rap-items--panel-step .rap-item { position: relative; border-top: 4px solid var(--brand); background: var(--panel); padding: 20px; }
.rap-items--panel-step .rap-item__title { margin-top: 16px; font-family: var(--font-display); font-size: 19px; text-transform: uppercase; letter-spacing: 1px; }
.rap-items--panel-step .rap-item p:not([class]) { margin-top: 4px; font-size: 14px; line-height: 20px; }
.rap-item__chev { position: absolute; right: 12px; top: 20px; width: 20px; height: 20px; color: var(--brand); }
.rap-items--panel-num .rap-item { border-left: 4px solid var(--brand); background: var(--panel); padding: 20px; }
.rap-item__head { display: flex; align-items: center; gap: 12px; }
.rap-items--panel-num .rap-item__title { font-size: 14px; font-weight: 500; text-transform: uppercase; line-height: 1.375; }
.rap-items--panel-num .rap-item p:not([class]) { margin-top: 12px; }

/* pasos */
.rap-items--steps, .rap-items--steps-plain { gap: 20px; }
.rap-items--steps .rap-item { border-top: 1px solid var(--border); padding-top: 20px; }
.rap-item__top { display: flex; align-items: center; justify-content: space-between; color: var(--brand); font-size: 12px; }
.rap-item__top .rap-ico { width: 20px; height: 20px; }
.rap-items--steps .rap-item__title, .rap-items--steps-plain .rap-item__title { margin-top: 12px; font-size: 16px; font-weight: 500; }
.rap-items--steps-plain { gap: 16px; }
.rap-items--steps-plain .rap-item { border-top: 1px solid oklch(1 0 0 / 30%); padding-top: 16px; }
.rap-items--steps-plain .rap-item__num { font-size: 12px; color: var(--brand); }
.rap-items--steps-plain .rap-item__title { margin-top: 8px; }

/* lista numerada */
.rap-items--numbered { column-gap: 20px; row-gap: 0; }
.rap-items--numbered .rap-item { display: flex; gap: 12px; border-bottom: 1px solid var(--border); padding: 16px 0; font-size: 14px; }
.rap-items--numbered .rap-item__num { font-size: 12px; color: var(--brand); }

/* países */
.rap-items--country { column-gap: 24px; row-gap: 0; }
.rap-items--country .rap-item { border-top: 1px solid var(--border); padding: 16px 0; }
.rap-items--country .rap-item__title { font-family: var(--font-display); font-size: 17px; text-transform: uppercase; letter-spacing: 1px; }
.rap-items--country .rap-item p:not([class]) { margin-top: 8px; }

/* check */
.rap-items--check .rap-item { display: flex; gap: 12px; background: var(--panel); padding: 20px; }
.rap-item__icon { width: 20px; height: 20px; margin-top: 2px; color: var(--brand); }
.rap-items--check .rap-item__title { font-size: 14px; font-weight: 500; text-transform: uppercase; }
.rap-items--check .rap-item p:not([class]) { margin-top: 4px; }

/* canales */
.rap-items--channel .rap-item { border-top: 4px solid var(--brand); background: var(--panel); padding: 16px; }
.rap-item__meta { font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--brand); }
.rap-items--channel .rap-item__title { margin-top: 8px; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.rap-items--channel .rap-item p:not([class]) { margin-top: 8px; font-size: 12px; line-height: 20px; }

/* proceso */
.rap-items--process .rap-item { background: var(--panel); padding: 20px; }
.rap-items--process .rap-item__title { margin-top: 12px; font-size: 14px; font-weight: 500; text-transform: uppercase; }
.rap-items--process .rap-item p:not([class]) { margin-top: 4px; }
.rap-item__time { margin-top: 12px !important; border-top: 1px solid var(--border); padding-top: 12px; font-size: 12px; font-weight: 500; color: var(--ink); }

/* principios */
.rap-items--principles { gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rap-items--principles .rap-item { padding: 24px 0; }
.rap-items--principles .rap-item + .rap-item { border-top: 1px solid var(--border); }
.rap-items--principles .rap-item__num { font-size: 12px; font-weight: 500; color: var(--brand); }
.rap-items--principles .rap-item__title { margin-top: 12px; font-size: 17px; line-height: 1.25; text-transform: uppercase; }
.rap-items--principles .rap-item p:not([class]) { margin-top: 12px; }
@media (min-width: 640px) {
	.rap-items--principles .rap-item { padding: 24px; }
	.rap-items--principles .rap-item + .rap-item { border-top: 0; border-left: 1px solid var(--border); }
	.rap-items--principles .rap-item:first-child { padding-left: 0; }
	.rap-items--principles .rap-item:last-child { padding-right: 0; }
}
@media (min-width: 1024px) { .rap-items--principles .rap-item { padding-top: 28px; padding-bottom: 28px; } }

/* kicker */
.rap-items--kicker { gap: 24px; border-top: 1px solid var(--border); padding-top: 32px; }
.rap-items--kicker .rap-item p:not([class]) { margin-top: 8px; font-size: 20px; line-height: 32px; color: var(--ink); }

/* modelo */
.rap-items--model { gap: 40px; }
.rap-items--model .rap-item__meta { margin-bottom: 16px; font-weight: 400; }
.rap-items--model .rap-item__title { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; letter-spacing: 1px; }
.rap-items--model .rap-item p:not([class]) { margin-top: 20px; font-size: 16px; line-height: 28px; }
@media (min-width: 1024px) { .rap-items--model { column-gap: 80px; } }

/* bloque con ícono */
.rap-items--icon-row { gap: 24px; }
.rap-items--icon-row .rap-item { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; }
.rap-items--icon-row .rap-item > .rap-ico { width: 24px; height: 24px; margin-top: 4px; color: var(--brand); }
.rap-item__main { flex: 1 1 0; min-width: 0; }
.rap-items--icon-row .rap-item__title { font-size: 22px; line-height: 1.25; text-transform: uppercase; }
.rap-items--icon-row .rap-item p:not([class]) { margin-top: 12px; max-width: 672px; }
.rap-item__status { flex-shrink: 0; font-size: 12px; text-transform: uppercase; color: var(--muted); }
@media (min-width: 640px) {
	.rap-items--icon-row .rap-item { flex-wrap: nowrap; align-items: center; }
	.rap-items--icon-row .rap-item > .rap-ico { align-self: flex-start; }
}
@media (min-width: 1024px) { .rap-items--icon-row .rap-item__title.is-lg { font-size: 26px; } }

/* ==========================================================================
   Documentos
   ========================================================================== */
.rap-docs { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rap-doc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 0; transition: background-color .15s; }
.rap-doc + .rap-doc { border-top: 1px solid var(--border); }
.rap-doc:hover { background: oklch(0.935 0.008 80 / 50%); }
.rap-doc__main { display: flex; align-items: center; gap: 16px; min-width: 0; }
.rap-doc__main > .rap-ico { width: 24px; height: 24px; color: var(--muted); }
.rap-doc__main > .rap-ico.is-active { color: var(--brand); }
.rap-doc__period { font-family: var(--font-display); font-size: 22px; line-height: 1.33; letter-spacing: 1px; font-weight: 500; color: var(--ink); }
.rap-doc__title { margin-top: 2px !important; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.rap-doc__side { display: flex; align-items: center; gap: 20px; }
.rap-doc__meta { font-size: 12px; color: var(--muted); }
.rap-doc__dl { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--ink); }
.rap-doc__dl:hover { color: var(--brand); }
.rap-doc__soon { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--muted); }
@media (min-width: 640px) { .rap-doc { padding: 20px 0; } }
.rap-docs.is-dark, .rap-docs.is-dark .rap-doc + .rap-doc { border-color: oklch(1 0 0 / 15%); }
.rap-docs.is-dark .rap-doc:hover { background: oklch(1 0 0 / 5%); }
.rap-docs.is-dark .rap-doc__period, .rap-docs.is-dark .rap-doc__dl { color: var(--paper); }
.rap-docs.is-dark .rap-doc__title, .rap-docs.is-dark .rap-doc__meta { color: oklch(1 0 0 / 60%); }

/* ==========================================================================
   Línea de tiempo
   ========================================================================== */
.rap-tl__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rap-tl__range { font-size: 12px; text-transform: uppercase; color: var(--muted); }
.rap-tl__ctrl { display: flex; gap: 8px; }
.rap-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%); }
.rap-icon-btn:hover { background: oklch(0.968 0.007 247.896); }
.rap-tl__viewport { margin-top: 20px; overflow: hidden; padding-top: 7px; }
.rap-tl__track { display: flex; transition: transform 700ms ease-out; }
.rap-tl__item { position: relative; flex-shrink: 0; width: 33.333%; border-top: 2px solid var(--brand); padding: 28px 32px 0 0; }
.rap-tl__dot { position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 999px; background: var(--brand); }
.rap-tl__year { font-family: var(--font-display); font-size: 48px; line-height: 1; letter-spacing: 1px; color: var(--ink); }
.rap-tl__item.is-current .rap-tl__year { color: var(--brand); }
.rap-tl__region { margin: 12px 0 !important; min-height: 32px; font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--brand); }
.rap-tl__text { font-size: 14px; line-height: 24px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .rap-tl__track { transition: none; } }

/* ==========================================================================
   Desplegables
   ========================================================================== */
.rap-acc details > summary { list-style: none; cursor: pointer; }
.rap-acc details > summary::-webkit-details-marker { display: none; }
.rap-acc summary > .rap-ico, .rap-acc__toggle .rap-ico { color: var(--brand); transition: transform .2s; }
.rap-acc details[open] > summary > .rap-ico, .rap-acc details[open] .rap-acc__toggle .rap-ico { transform: rotate(180deg); }
.rap-acc__sub { display: block; margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--muted); }
.rap-acc .rap-rich { font-size: 14px; line-height: 24px; color: var(--muted); }
.rap-rich ul { margin-top: 12px; display: grid; gap: 8px; border-left: 2px solid var(--brand); padding-left: 16px; list-style: none; }
.rap-rich ul li { margin: 0; }
.rap-rich blockquote { margin: 24px 0 0; border-left: 2px solid var(--brand); padding-left: 20px; font-size: 14px; line-height: 24px; font-weight: 600; color: var(--ink); }
.rap-rich h4 { margin: 20px 0 12px; font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink); }
.rap-rich .rap-cards { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 768px) { .rap-rich .rap-cards { grid-template-columns: 1fr 1fr; } }
.rap-rich .rap-card { background: var(--panel); padding: 20px; }
.rap-rich .rap-card__eyebrow { font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--brand); }
.rap-rich .rap-card__title { margin-top: 4px; font-size: 14px; font-weight: 500; text-transform: uppercase; color: var(--ink); }
.rap-rich .rap-small { margin-top: 20px; font-size: 12px; }
.rap-rich details { border-top: 1px solid var(--border); }
.rap-rich details:last-of-type { border-bottom: 1px solid var(--border); }
.rap-rich details summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 14px; font-weight: 500; color: var(--ink); list-style: none; cursor: pointer; }
.rap-rich details summary::-webkit-details-marker { display: none; }
.rap-rich details summary::after { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: var(--brand); -webkit-mask: url("../icons/chevron-down.svg") center / contain no-repeat; mask: url("../icons/chevron-down.svg") center / contain no-repeat; transition: transform .2s; }
.rap-rich details[open] summary::after { transform: rotate(180deg); }
.rap-rich details > *:not(summary) { margin-bottom: 12px; }
.rap-rich details > ul { margin-top: 0; }

.rap-acc--list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rap-acc--list .rap-acc__item { padding: 4px 0; }
.rap-acc--list .rap-acc__item + .rap-acc__item { border-top: 1px solid var(--border); }
.rap-acc--list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.rap-acc--list .rap-acc__title { display: block; font-size: 14px; font-weight: 500; text-transform: uppercase; color: var(--ink); }
.rap-acc--list .rap-acc__body { padding-bottom: 20px; }
.rap-acc--list .rap-acc__body > p { margin-bottom: 12px; }

.rap-acc--faq { border-top: 1px solid var(--border); }
.rap-acc--faq .rap-acc__item { border-bottom: 1px solid var(--border); }
.rap-acc--faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: 16px; color: var(--ink); }
.rap-acc--faq summary:hover { color: var(--brand); }
.rap-acc--faq .rap-acc__title { font-weight: 500; }
.rap-acc--faq .rap-acc__body { padding-bottom: 24px; line-height: 28px; }

.rap-acc--cards { display: grid; gap: 16px; }
.rap-acc--cards .rap-acc__item { border: 1px solid var(--border); background: var(--paper); scroll-margin-top: 32px; }
.rap-acc--cards summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; }
.rap-acc__lead { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.rap-acc__num { padding-top: 4px; font-size: 12px; font-weight: 500; color: var(--brand); }
.rap-acc--cards .rap-acc__title { display: block; font-family: var(--font-display); font-size: 19px; line-height: 1.25; text-transform: uppercase; letter-spacing: 1px; color: var(--ink); }
.rap-acc--cards .rap-acc__sub { margin-top: 8px; line-height: 20px; }
.rap-acc__toggle { display: flex; flex-shrink: 0; align-items: center; gap: 12px; color: var(--brand); font-size: 12px; font-weight: 500; text-transform: uppercase; }
.rap-acc__toggle .rap-ico { width: 20px; height: 20px; }
.rap-acc__open { display: none; }
.rap-acc__close { display: none; }
@media (min-width: 640px) { .rap-acc--cards details:not([open]) .rap-acc__open { display: inline; } }
.rap-acc--cards details[open] .rap-acc__close { display: inline; }
.rap-acc--cards .rap-acc__body { display: grid; gap: 32px; border-top: 1px solid var(--border); padding: 20px; }
.rap-acc--cards .rap-rich { line-height: 28px; }
.rap-acc__aside { height: fit-content; background: var(--panel); padding: 20px; }
.rap-acc__aside > p { font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--ink); }
.rap-acc__aside ol { margin-top: 20px; display: grid; gap: 12px; }
.rap-acc__aside li { display: flex; gap: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
.rap-acc__aside li span:first-child { flex-shrink: 0; font-size: 12px; font-weight: 500; color: var(--brand); }
@media (min-width: 1024px) {
	.rap-acc--cards summary { padding: 28px; }
	.rap-acc__lead { gap: 24px; }
	.rap-acc--cards .rap-acc__title { font-size: 22px; }
	.rap-acc--cards .rap-acc__sub { font-size: 14px; }
	.rap-acc--cards .rap-acc__body { padding: 32px; gap: 40px; }
	.rap-acc--cards .rap-acc__body.has-aside { grid-template-columns: minmax(0, 1.35fr) minmax(230px, .65fr); }
	.rap-acc__aside { padding: 24px; }
}

/* ==========================================================================
   Índice lateral y navegación de sección
   ========================================================================== */
.rap-toc__title { margin-bottom: 16px !important; font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--muted); }
.rap-toc nav { border-left: 1px solid var(--border); }
.rap-toc nav a { display: flex; gap: 12px; margin-left: -1px; border-left: 2px solid transparent; padding: 10px 0 10px 16px; font-size: 14px; line-height: 20px; color: var(--muted); }
.rap-toc nav a span { font-size: 12px; color: var(--brand); }
.rap-toc nav a:hover { border-left-color: var(--brand); color: var(--brand); }
.rap-toc--panel .rap-toc__desk { display: none; }
.rap-toc__mobile { border: 1px solid var(--border); background: var(--panel); padding: 20px; }
.rap-toc__mobile summary { cursor: pointer; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.rap-toc--panel nav { border: 0; display: grid; gap: 12px; }
.rap-toc--panel nav a { margin: 0; border: 0; padding: 0; gap: 0; font-size: 14px; }
.rap-toc--panel nav a span { margin-right: 8px; }
.rap-toc__mobile nav { margin-top: 20px; }
@media (min-width: 1024px) {
	.rap-toc--panel .rap-toc__mobile { display: none; }
	.rap-toc--panel .rap-toc__desk { display: block; position: sticky; top: 32px; max-height: calc(100vh - 4rem); overflow-y: auto; border-top: 4px solid var(--brand); background: var(--panel); padding: 20px; }
	.rap-toc--panel .rap-toc__title { margin-bottom: 20px !important; font-weight: 700; color: var(--ink); }
	.rap-toc--panel .rap-toc__desk nav a { font-size: 12px; line-height: 20px; color: var(--muted); }
	.rap-toc--panel .rap-toc__desk nav a:hover { color: var(--brand); }
}

.rap-subnav { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--paper); }
.rap-subnav__in { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad-x); display: flex; flex-wrap: wrap; column-gap: 32px; }
.rap-subnav__in a { display: flex; align-items: center; gap: 8px; border-bottom: 2px solid transparent; padding: 20px 0; font-size: 12px; text-transform: uppercase; color: var(--muted); }
.rap-subnav__in a:hover { color: var(--brand); }
.rap-subnav__in a.is-active { border-bottom-color: var(--brand); color: var(--brand); }

/* ==========================================================================
   Personas, tablas, destacados, banner
   ========================================================================== */
.rap-team { display: grid; gap: 56px 32px; }
@media (min-width: 640px) { .rap-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rap-team { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rap-member { display: flex; flex-direction: column; }
.rap-member__initials { display: flex; height: 100%; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 48px; color: oklch(0.48 0 0 / 60%); }
.rap-member__role { margin-top: 20px !important; font-size: 12px; text-transform: uppercase; color: var(--brand); }
.rap-member__name { margin-top: 8px !important; font-family: var(--font-display); font-size: 19px; line-height: 1.25; text-transform: uppercase; letter-spacing: 1px; }
.rap-member__bio { margin-top: 12px !important; font-size: 14px; line-height: 24px; color: var(--muted); }

.rap-table { overflow-x: auto; }
.rap-table table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; font-size: 14px; margin: 0; }
.rap-table th, .rap-table td { border: 0; vertical-align: top; }
.rap-table--boxed { border: 1px solid var(--border); }
.rap-table--boxed table { min-width: 680px; }
.rap-table--boxed thead { background: var(--ink); color: var(--paper); }
.rap-table--boxed th { padding: 12px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.rap-table--boxed td { padding: 16px; line-height: 24px; color: var(--muted); }
.rap-table--boxed tbody tr + tr { border-top: 1px solid var(--border); }
.rap-table--boxed tbody tr:nth-child(even) { background: oklch(0.935 0.008 80 / 45%); }
.rap-table--boxed td:first-child { font-weight: 700; color: var(--ink); }
.rap-table--principles thead tr { border-bottom: 2px solid var(--ink); }
.rap-table--principles th { padding: 16px 24px 16px 0; font-size: 12px; font-weight: 500; text-transform: uppercase; }
.rap-table--principles td { padding: 20px 0; line-height: 24px; color: var(--muted); border-bottom: 1px solid var(--border); }
.rap-table--principles td:first-child { padding-right: 24px; font-weight: 500; text-transform: uppercase; color: var(--brand); }

.rap-callout p { margin: 0; }
.rap-callout--note { border-left: 4px solid var(--brand); background: var(--panel); padding: 16px 20px; font-size: 14px; line-height: 20px; }
.rap-callout--note .rap-callout__text { color: var(--ink); }
.rap-callout--note strong { color: var(--brand); }
.rap-callout--note .rap-callout__title { font-weight: 500; color: var(--ink); }
.rap-callout--ink { background: var(--ink); color: var(--paper); padding: 24px; }
.rap-callout--ink .rap-callout__eyebrow, .rap-callout--quote .rap-callout__eyebrow { font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--brand); }
.rap-callout--ink .rap-callout__title { margin-top: 8px; font-size: 17px; font-weight: 500; }
.rap-callout--ink .rap-callout__text { margin-top: 4px; font-size: 14px; line-height: 20px; color: oklch(1 0 0 / 75%); }
.rap-callout--quote { margin: 0; background: var(--ink); color: var(--paper); padding: 28px; }
.rap-callout--quote .rap-callout__text { margin-top: 16px; max-width: 896px; font-size: 19px; line-height: 32px; }
@media (min-width: 1024px) {
	.rap-callout--quote { padding: 36px; }
	.rap-callout--quote .rap-callout__text { font-size: 22px; line-height: 36px; }
}
.rap-callout--panel { border: 1px solid var(--border); background: var(--panel); padding: 24px; }
.rap-callout--panel .rap-callout__title { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; letter-spacing: 1px; }
.rap-callout--panel .rap-callout__text { margin-top: 20px; display: grid; gap: 16px; font-size: 14px; line-height: 28px; color: var(--muted); }
.rap-callout--panel a { color: var(--brand); text-decoration: underline; }

.rap-banner { position: relative; overflow: hidden; padding: 80px var(--pad-x); }
.rap-banner--ink { background: var(--ink); color: var(--paper); }
.rap-banner--brand { background: var(--brand); color: var(--paper); }
.rap-banner--photo { background: var(--ink); color: var(--paper); padding-top: 56px; padding-bottom: 56px; }
.rap-banner--pad-md { padding-top: 80px; padding-bottom: 80px; }
.rap-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rap-banner__shade { position: absolute; inset: 0; background: oklch(0.105 0 0 / 70%); }
.rap-banner__in { position: relative; max-width: 1240px; margin: 0 auto; }
.rap-banner__in.is-wide { max-width: 1340px; }
.rap-banner__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; font-size: 12px; font-weight: 500; text-transform: uppercase; color: oklch(1 0 0 / 70%); }
.rap-banner__back:hover { color: var(--brand); }
.rap-banner__eyebrow { font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--brand); }
.rap-banner--brand .rap-banner__eyebrow { color: var(--paper); }
.rap-banner .rap-h { margin-top: 20px; }
.rap-banner__text { margin-top: 28px !important; max-width: 576px; font-size: 14px; line-height: 24px; color: oklch(1 0 0 / 80%); }
.rap-banner--brand .rap-banner__text { color: oklch(1 0 0 / 85%); }
@media (min-width: 1024px) {
	.rap-banner { padding-top: 112px; padding-bottom: 112px; }
	.rap-banner--pad-md { padding-top: 96px; padding-bottom: 96px; }
	.rap-banner--photo { padding-top: 80px; padding-bottom: 80px; }
	.rap-banner__text { font-size: 16px; line-height: 28px; }
}

/* ==========================================================================
   Noticias
   ========================================================================== */
.rap-news-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .rap-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rap-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rap-news-card { display: flex; flex-direction: column; border: 1px solid var(--border); background: var(--paper); }
.rap-news-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.rap-news-card time { font-size: 12px; text-transform: uppercase; color: var(--muted); }
.rap-news-card h3 { margin-top: 12px; font-size: 19px; line-height: 1.25; text-transform: uppercase; }
.rap-news-card p { flex: 1; margin-top: 12px; font-size: 14px; line-height: 24px; color: var(--muted); }
.rap-news-card .rap-btn { margin-top: 24px; }
.rap-news-sec { border-bottom: 1px solid var(--border); padding: 64px 0; }
.rap-news-sec__in { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad-x); }
.rap-news-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.rap-pagination { margin-top: 40px; }
.rap-pagination .nav-links { display: flex; gap: 8px; }
.rap-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--border); font-size: 12px; }
.rap-pagination .page-numbers.current { background: var(--ink); color: var(--paper); }

.rap-article { max-width: 860px; margin: 0 auto; padding: 56px 24px 64px; }
.rap-article.is-wide { max-width: 1240px; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.rap-article__back { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; color: var(--muted); }
.rap-article__back:hover { color: var(--brand); }
.rap-article__date { display: block; margin-top: 32px; font-size: 12px; text-transform: uppercase; color: var(--brand); }
.rap-article__excerpt { margin-top: 24px !important; font-size: 17px; line-height: 32px; color: var(--muted); }
.rap-article__body { margin-top: 40px; font-size: 16px; line-height: 28px; }
.rap-article__body > p + p, .rap-article__body .wpb_text_column p + p { margin-top: 20px; }
.rap-article__body .wpb_text_column { color: var(--ink); }
.rap-article.is-wide .rap-article__body .wpb_text_column { max-width: 860px; }
.rap-article__body .vc_row { margin: 0; }
@media (min-width: 1024px) { .rap-article { padding-top: 80px; } }

.rap-404 { max-width: 640px; margin: 0 auto; padding: 120px 24px; text-align: center; }
.rap-404__code { font-family: var(--font-display); font-size: 80px; line-height: 1; color: var(--brand); }

/* ==========================================================================
   Calendario, pilares, tres líneas
   ========================================================================== */
.rap-months { display: grid; gap: 16px; }
@media (min-width: 640px) { .rap-months { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rap-months { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.rap-month { border: 1px solid var(--border); border-top: 4px solid var(--ink); background: var(--paper); }
.rap-month.has-note { border-top-color: var(--brand); }
.rap-month__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-height: 80px; border-bottom: 1px solid var(--border); padding: 20px; }
.rap-month__head h3 { font-size: 22px; text-transform: uppercase; }
.rap-month__head p { max-width: 64px; font-size: 10px; line-height: 16px; font-weight: 700; text-transform: uppercase; color: var(--brand); }
.rap-month ul { display: grid; gap: 24px; padding: 24px 20px; }
.rap-month li { border-left: 4px solid var(--ink); padding-left: 16px; }
.rap-month li.rap-tone-muted { border-left-color: var(--muted); }
.rap-month li.rap-tone-brand { border-left-color: var(--brand); }
.rap-month li.rap-tone-brand-dark { border-left-color: var(--brand-dark); }
.rap-month h4 { font-size: 17px; line-height: 1.25; text-transform: uppercase; }
.rap-month li p { margin-top: 4px; font-size: 12px; line-height: 20px; color: var(--muted); }
.rap-commit__foot { display: flex; align-items: center; gap: 8px; margin-top: 20px !important; font-size: 12px; text-transform: uppercase; color: var(--muted); }
.rap-commit__foot .rap-ico { color: var(--brand); }
.rap-recurring { display: grid; gap: 1px; margin-top: 48px; border: 1px solid var(--border); background: var(--border); }
@media (min-width: 768px) { .rap-recurring { grid-template-columns: 1fr 1fr; } }
.rap-recurring__item { background: var(--panel); padding: 24px; }
.rap-recurring__head { display: flex; align-items: center; gap: 12px; }
.rap-recurring__head .rap-ico { width: 20px; height: 20px; color: var(--brand); }
.rap-recurring__head p { font-size: 12px; text-transform: uppercase; color: var(--brand); }
.rap-recurring__head h3 { font-size: 22px; text-transform: uppercase; }
.rap-recurring__text { margin-top: 20px !important; max-width: 576px; font-size: 14px; line-height: 28px; color: var(--muted); }
@media (min-width: 1024px) { .rap-recurring__item { padding: 32px; } }

.rap-pillars { display: grid; gap: 1px; background: oklch(1 0 0 / 15%); }
@media (min-width: 1024px) { .rap-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rap-pillar { background: var(--ink); padding: 32px; }
.rap-pillar h3 { font-size: 19px; text-transform: uppercase; color: var(--brand); }
.rap-pillar__sub { margin-top: 8px !important; font-size: 12px; font-weight: 500; text-transform: uppercase; color: oklch(1 0 0 / 70%); }
.rap-pillar__label { margin-top: 24px !important; font-size: 12px; font-weight: 500; text-transform: uppercase; color: oklch(1 0 0 / 50%); }
.rap-pillar ul { margin-top: 16px; display: grid; gap: 16px; }
.rap-pillar li { display: flex; gap: 12px; font-size: 14px; line-height: 24px; color: oklch(1 0 0 / 80%); }
.rap-pillar li .rap-ico { width: 20px; height: 20px; margin-top: 2px; color: var(--brand); }

.rap-lines { display: grid; gap: 16px; }
@media (min-width: 768px) { .rap-lines { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rap-line { display: flex; flex-direction: column; background: var(--panel); }
.rap-line__head { padding: 12px 20px; font-size: 12px; font-weight: 500; text-transform: uppercase; }
.rap-line__body { padding: 20px; }
.rap-line__body p { font-size: 14px; line-height: 24px; color: var(--muted); }
.rap-line__body ul { margin-top: 16px; display: grid; gap: 6px; border-top: 1px solid var(--border); padding-top: 16px; font-size: 14px; }

/* ==========================================================================
   Formularios (Contact Form 7)
   ========================================================================== */
.rap-form--boxed { background: var(--paper); color: var(--ink); padding: 24px; }
@media (min-width: 1024px) { .rap-form--boxed { padding: 36px; } }
.rap-form .wpcf7-form { display: grid; gap: 20px; }
@media (min-width: 640px) {
	.rap-form .wpcf7-form { grid-template-columns: 1fr 1fr; }
	.rap-form .rap-f-full, .rap-form .wpcf7-response-output, .rap-form .rap-f-actions { grid-column: 1 / -1; }
}
.rap-form label { display: grid; gap: 8px; margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.rap-form .rap-form--plain-label label, .rap-form--plain label { font-weight: 400; }
.rap-form .wpcf7-form-control-wrap { display: block; }
.rap-site .rap-form input[type="text"],
.rap-site .rap-form input[type="email"],
.rap-site .rap-form input[type="tel"],
.rap-site .rap-form textarea {
	width: 100%;
	height: 48px;
	margin: 0;
	border: 1px solid var(--border);
	border-radius: 0;
	background: transparent;
	padding: 4px 12px;
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 400;
	text-transform: none;
	color: var(--ink);
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
	outline: none;
}
.rap-site .rap-form textarea { height: auto; min-height: 112px; padding: 8px 12px; resize: vertical; }
.rap-form--plain textarea { min-height: 128px !important; }
.rap-site .rap-form input:focus, .rap-site .rap-form textarea:focus { border-color: var(--border); box-shadow: 0 0 0 1px oklch(0.704 0.04 256.788); }
.rap-form .rap-f-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (min-width: 640px) { .rap-form .rap-f-actions.is-inline { flex-direction: row; align-items: center; } }
.rap-site .rap-form .wpcf7-submit { display: inline-flex; align-items: center; gap: 8px; height: auto; margin: 0; border: 0; border-radius: 0; background: var(--brand); padding: 16px 28px; font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; text-transform: uppercase; color: var(--paper); cursor: pointer; box-shadow: none; }
.rap-site .rap-form .wpcf7-submit:hover { background-color: var(--brand-dark); }
.rap-site .rap-form--plain .wpcf7-submit { background-color: var(--ink); padding: 16px 24px; }
.rap-site .rap-form--plain .wpcf7-submit:hover { background-color: var(--brand); }
.rap-form .rap-f-help { font-size: 12px; line-height: 20px; color: var(--muted); text-transform: none; font-weight: 400; }
.rap-form .wpcf7-spinner { margin: 0; }
.rap-form .wpcf7-not-valid-tip { margin-top: 4px; font-size: 12px; font-weight: 400; text-transform: none; color: var(--brand); }
.rap-site .rap-form .wpcf7 form .wpcf7-response-output { margin: 0; border: 0; padding: 0; font-size: 14px; font-weight: 700; color: var(--brand); }
.rap-form--plain .wpcf7 form .wpcf7-response-output { font-weight: 400 !important; }

/* ==========================================================================
   Inicio
   ========================================================================== */
.rap-hero { position: relative; min-height: 690px; overflow: hidden; color: var(--paper); }
.rap-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rap-hero__wash { position: absolute; inset: 0; background-image: var(--hero-wash); }
.rap-hero__flag { position: absolute; right: 0; top: 40px; height: 80px; width: 22%; background: oklch(0.57 0.235 27 / 80%); }
.rap-hero__strip { position: absolute; bottom: 0; left: 0; height: 32px; width: 24%; background: var(--brand-dark); }
.rap-hero__in { position: relative; max-width: 1440px; min-height: 690px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 40px 24px; }
.rap-hero__grid { display: grid; align-items: end; gap: 32px; }
.rap-hero__title { max-width: 640px; font-size: clamp(3.6rem, 7vw, 7.4rem) !important; line-height: .82 !important; font-weight: 500 !important; text-transform: uppercase; color: var(--paper); text-shadow: 0 4px 16px var(--ink); }
.rap-hero__text { margin-top: 28px !important; max-width: 448px; font-size: 14px; line-height: 24px; }
.rap-hero__cta { margin-top: 28px; }
.rap-hero__badge { border: 1px solid oklch(1 0 0 / 70%); padding: 12px; }
.rap-hero__badge > div { background: oklch(0.57 0.235 27 / 90%); padding: 20px; }
.rap-hero__badge p:first-child { font-size: 10px; font-weight: 500; text-transform: uppercase; }
.rap-hero__badge-title { margin-top: 8px !important; font-family: var(--font-display); font-size: 32px; line-height: 1; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
@media (min-width: 1024px) {
	.rap-hero, .rap-hero__in { min-height: calc(100vh - 6rem); }
	.rap-hero__in { padding: 48px 44px; }
	.rap-hero__grid { grid-template-columns: minmax(0, 1fr) 340px; }
	.rap-hero__text { font-size: 16px; }
	.rap-hero__badge-title { font-size: 40px; }
}

.rap-hcorp { display: grid; background: var(--paper); color: var(--ink); }
.rap-hcorp__media { position: relative; min-height: 520px; overflow: hidden; }
.rap-hcorp__wash { position: absolute; inset: 0; background-image: var(--governance-wash); }
.rap-hcorp__media-in { position: relative; display: flex; height: 100%; min-height: 520px; flex-direction: column; justify-content: space-between; padding: 28px; color: var(--paper); }
.rap-hcorp__side { position: relative; display: flex; min-height: 520px; flex-direction: column; justify-content: center; background: var(--paper); padding: 64px 28px; }
.rap-hcorp__flag { position: absolute; right: 0; top: 48px; height: 48px; width: 66.666%; background: var(--brand-dark); }
.rap-hcorp__side > .rap-eyebrow { margin-bottom: 48px; }
.rap-hcorp__boxes { display: grid; gap: 16px; }
.rap-hcorp__box { width: 78%; padding: 24px; font-size: 19px; line-height: 1.4; text-transform: uppercase; }
.rap-hcorp__box:first-child { margin-left: auto; }
@media (min-width: 1024px) {
	.rap-hcorp { grid-template-columns: 1.2fr .8fr; }
	.rap-hcorp__media, .rap-hcorp__media-in { min-height: 650px; }
	.rap-hcorp__media-in { padding: 48px; }
	.rap-hcorp__side { padding: 64px 56px; }
}

.rap-hfin { background: var(--paper); padding: 80px 24px; color: var(--ink); }
.rap-hfin__in { max-width: 1340px; margin: 0 auto; display: grid; gap: 56px; }
.rap-hfin__rev { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rap-hfin__hl { margin-top: 12px; display: grid; gap: 12px; }
.rap-kpi { border-left: 4px solid var(--brand); background: var(--panel); padding: 20px 16px; }
.rap-kpi--ink { border-left-color: var(--ink); }
.rap-kpi__v { font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; color: var(--ink); }
.rap-kpi__l { margin-top: 4px !important; font-size: 12px; color: var(--brand); }
.rap-hfin__rev .rap-kpi:last-child { grid-column: span 2; }
@media (min-width: 640px) {
	.rap-hfin__rev { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rap-hfin__rev .rap-kpi:last-child { grid-column: auto; }
	.rap-hfin__hl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.rap-hfin { padding: 112px 44px; }
	.rap-hfin__in { grid-template-columns: .8fr 1.2fr; align-items: end; }
}
@media (min-width: 1280px) {
	.rap-hfin__rev { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.rap-hfin__rev .rap-kpi__v { font-size: 26px; }
}

.rap-hnews { display: grid; background: var(--paper); }
.rap-hnews__left { display: flex; min-height: 520px; flex-direction: column; justify-content: space-between; padding: 28px; color: var(--ink); }
.rap-hnews__meta { margin-bottom: 28px !important; font-size: 14px; }
.rap-hnews__right { position: relative; min-height: 560px; overflow: hidden; color: var(--paper); }
.rap-hnews__wash { position: absolute; inset: 0; background-image: var(--news-wash); }
.rap-hnews__in { position: relative; padding: 28px; }
.rap-hnews__list { margin-top: 32px; max-width: 576px; border-top: 1px solid oklch(1 0 0 / 30%); border-bottom: 1px solid oklch(1 0 0 / 30%); }
.rap-hnews__list > div { padding: 16px 0; }
.rap-hnews__list > div + div { border-top: 1px solid oklch(1 0 0 / 30%); }
.rap-hnews__date { font-size: 19px; font-weight: 500; }
.rap-hnews__item { font-size: 12px; font-weight: 700; text-transform: uppercase; }
@media (min-width: 1024px) {
	.rap-hnews { grid-template-columns: .82fr 1.18fr; }
	.rap-hnews__left, .rap-hnews__in { padding: 48px; }
}

.rap-hcontact { background: var(--brand); color: var(--paper); scroll-margin-top: 0; }
.rap-hcontact__media { position: relative; min-height: 520px; overflow: hidden; }
.rap-hcontact__wash { position: absolute; inset: 0; background-image: var(--contact-wash); }
.rap-hcontact__media-in { position: relative; max-width: 1440px; min-height: 520px; margin: 0 auto; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 28px; }
.rap-hcontact__in { max-width: 1340px; margin: 0 auto; display: grid; gap: 48px; padding: 64px 28px; }
.rap-hcontact__text { margin-top: 24px !important; max-width: 448px; font-size: 14px; line-height: 24px; color: oklch(1 0 0 / 80%); }
.rap-hcontact__links { margin-top: 32px; display: grid; gap: 12px; font-size: 14px; }
.rap-hcontact__links a { display: flex; align-items: center; gap: 12px; }
.rap-hcontact__links a:hover { text-decoration: underline; }
@media (min-width: 1024px) {
	.rap-hcontact__media-in { padding: 40px 48px; }
	.rap-hcontact__in { grid-template-columns: .75fr 1.25fr; padding: 96px 48px; }
}

/* Anclas con desplazamiento */
.rap-page [id] { scroll-margin-top: 32px; }
#historia, #presencia, #modelo { scroll-margin-top: 144px; }
#contacto-inversionistas { scroll-margin-top: 160px; }
html { scroll-behavior: smooth; }

/* ==========================================================================
   Auxiliares de filas y bloques del generador
   ========================================================================== */
.rap-sec--flush-y { padding-top: 0 !important; padding-bottom: 0 !important; }
.rap-page .vc_row.rap-bt { border-top: 1px solid var(--border); padding-top: 32px; }
.rap-page .vc_row.rap-bt--lg { padding-top: 48px; }
.rap-page .vc_row.rap-sub.rap-sub--md { padding-top: 48px; }
.rap-page .vc_row.rap-sub-end.rap-sub--md { padding-bottom: 48px; }
@media (min-width: 1024px) {
	.rap-page .vc_row.rap-sub.rap-sub--md { padding-top: 56px; }
	.rap-page .vc_row.rap-sub-end.rap-sub--md { padding-bottom: 56px; }
}
.rap-page .wpb_wrapper > .vc_row.rap-sub--md:first-child { padding-top: 0; }
.rap-page .vc_row.rap-flex-between { display: flex; flex-direction: column; gap: 24px; }
.rap-page .vc_row.rap-flex-between::before, .rap-page .vc_row.rap-flex-between::after { display: none; }
.rap-page .vc_row.rap-flex-between > .wpb_column { width: auto; float: none; }
@media (min-width: 640px) { .rap-page .vc_row.rap-flex-between { flex-direction: row; align-items: center; justify-content: space-between; } }
.rap-page .rap-org-box { border: 1px solid oklch(0.48 0 0 / 30%); background: #fff; padding: 16px; }
.rap-page .rap-org-box .wpb_wrapper { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.rap-page .rap-org-box .wpb_wrapper > * { margin: 0; }
.rap-page .rap-org-box .rap-figure { flex: 1 0 100%; margin-top: 8px; }
.rap-page .rap-org-box .rap-h { font-weight: 500; }
@media (min-width: 1024px) { .rap-page .rap-org-box { padding: 32px; } }
.rap-docmeta { display: flex; flex-wrap: wrap; gap: 12px 32px; border-top: 1px solid var(--border); padding-top: 24px; font-size: 12px; line-height: 16px; text-transform: uppercase; color: var(--muted); }
.rap-docinfo { background: var(--panel); padding: 24px; }
.rap-docinfo h2 { display: flex; align-items: center; gap: 12px; font-size: 22px; text-transform: uppercase; color: var(--ink); }
.rap-docinfo h2::before { content: ""; width: 20px; height: 20px; background: var(--brand); -webkit-mask: url("../icons/file-text.svg") center / contain no-repeat; mask: url("../icons/file-text.svg") center / contain no-repeat; }
.rap-docinfo dl { margin-top: 24px; display: grid; gap: 16px; font-size: 14px; color: var(--ink); }
.rap-docinfo dt { font-size: 12px; text-transform: uppercase; color: var(--muted); }
.rap-docinfo dd { margin-top: 4px; }
@media (min-width: 640px) { .rap-docinfo dl { grid-template-columns: 1fr 1fr; } .rap-docinfo .is-full { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .rap-docinfo { padding: 32px; } }
.rap-callout--legal { font-size: 14px; line-height: 28px; }
.rap-callout--legal .rap-callout__text { color: var(--muted); }
@media (min-width: 1024px) { .rap-callout--legal { font-size: 16px; } }
.rap-sec--ink .rap-items--steps-plain .rap-item__title { color: var(--paper); }
.rap-page .wpb_text_column .rap-eyebrow { font-size: 12px; line-height: 16px; }

/* Botón de envío de los formularios con flecha */
.rap-site .rap-form button.wpcf7-submit::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("../icons/arrow-right.svg") center / contain no-repeat; mask: url("../icons/arrow-right.svg") center / contain no-repeat; }

/* ==========================================================================
   Neutralizar contenedores y colores de Goya
   ========================================================================== */
.rap-site .rap-page .sec_row,
.rap-site .rap-page .sec_row.container,
.rap-site .rap-page .wpb-content-wrapper { width: 100%; max-width: none; margin: 0; padding: 0; }
.rap-site .rap-page .wpb_column,
.rap-site .rap-page .vc_column_container { padding-left: 0; padding-right: 0; }
.rap-site .rap-nav .rap-nav__top { color: var(--muted); }
.rap-site .rap-nav .rap-nav__top:hover,
.rap-site .rap-nav__item:hover > .rap-nav__top,
.rap-site .rap-nav .rap-nav__top[aria-current="page"] { color: var(--brand); }
.rap-site .rap-nav__sub .rap-nav__link { color: var(--muted); }
.rap-site .rap-nav__sub .rap-nav__link:hover,
.rap-site .rap-nav__sub .rap-nav__link[aria-current="page"] { background: var(--brand); color: var(--paper); }
.rap-site .rap-topbar__in a { color: var(--muted); }
.rap-site .rap-topbar__in a:hover,
.rap-site .rap-footer a:hover { color: var(--brand); }
.rap-site .rap-footer a { color: var(--muted); }
.rap-site .rap-drawer a { color: inherit; }
.rap-site .rap-drawer .rap-drawer__link:hover { color: var(--paper); }
.rap-site .rap-drawer .rap-btn--brand { color: var(--paper); }

/* Imágenes de fondo / cubrientes */
.rap-site img.rap-cover,
.rap-site img.rap-hero__bg,
.rap-site img.rap-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.rap-site img.rap-cover { object-position: center; }
.rap-site img.rap-cover.rap-op-right { object-position: right; }
.rap-site img.rap-cover.rap-op-top { object-position: top; }
.rap-site .rap-figure img.rap-natural { position: static; width: 100%; height: auto; }
.rap-site .rap-more { color: var(--brand); }
.rap-site .rap-doc__dl { color: var(--ink); }
.rap-site .rap-docs.is-dark .rap-doc__dl { color: var(--paper); }
.rap-site .rap-doc__dl:hover, .rap-site .rap-banner__back:hover, .rap-site .rap-article__back:hover { color: var(--brand); }
.rap-site .rap-banner__back { color: oklch(1 0 0 / 70%); }
.rap-site .rap-article__back { color: var(--muted); }
.rap-site .rap-subnav__in a { color: var(--muted); }
.rap-site .rap-subnav__in a:hover, .rap-site .rap-subnav__in a.is-active { color: var(--brand); }
.rap-site .rap-toc nav a { color: var(--muted); }
.rap-site .rap-toc nav a:hover { color: var(--brand); }
.rap-site .rap-rich blockquote { margin: 24px 0 0; padding: 0 0 0 20px; border: 0; border-left: 2px solid var(--brand); background: none; font-family: var(--font-sans); font-size: 14px; line-height: 24px; font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); quotes: none; }
.rap-site .rap-rich blockquote::before, .rap-site .rap-rich blockquote::after,
.rap-site blockquote.rap-callout::before, .rap-site blockquote.rap-callout::after { content: none; display: none; }
.rap-site blockquote.rap-callout { margin: 0; border: 0; font-family: var(--font-sans); font-style: normal; letter-spacing: 0; text-transform: none; }
.rap-site blockquote.rap-callout .rap-callout__text p { font-size: inherit; line-height: inherit; color: var(--paper); }
.rap-site .rap-rich blockquote p { margin: 0; font: inherit; color: inherit; letter-spacing: 0; }

/* Figuras centradas (la regla .rap-page figure { margin: 0 } tiene más peso) */
.rap-site .rap-page .rap-figure--w768 { margin-left: auto; margin-right: auto; }
