/*
Theme Name: Kadence Child - Fundación El Buen Pastor
Description: Child theme de Kadence con el diseño de la Fundación El Buen Pastor.
Template: kadence
Version: 1.0.2
Text Domain: kadence-child
*/

:root {
	--fbp-navy: #2e2868;
	--fbp-navy-dark: #1b1830;
	--fbp-ink: #1b1b2e;
	--fbp-cyan: #13b3dc;
	--fbp-cyan-dark: #0d8aab;
	--fbp-cyan-light: #5fd6f2;
	--fbp-cream: #faf8f5;
	--fbp-cream-alt: #f3f1ec;
	--fbp-text: #4a4a58;
	--fbp-text-soft: #6b6b78;
	--fbp-border: rgba(46, 40, 104, 0.1);

	/* Kadence reads these variables directly on many elements (links, buttons,
	   Kadence Blocks) instead of inheriting font-family from body, so they must
	   be set explicitly or those elements fall back to Kadence's own default font. */
	--global-body-font-family: 'Work Sans', sans-serif;
	--global-heading-font-family: 'Lora', serif;
}

body {
	background: var(--fbp-cream);
	font-family: 'Work Sans', sans-serif;
	color: var(--fbp-text);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.fbp-font-serif {
	font-family: 'Lora', serif;
}

a {
	color: var(--fbp-cyan);
}

a:hover {
	color: var(--fbp-cyan-dark);
}

::selection {
	background: var(--fbp-cyan);
	color: #fff;
}

/* Utility bar */
.fbp-utility-bar {
	background: var(--fbp-navy);
	color: #fff;
	font-size: 13px;
	padding: 8px 32px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.fbp-utility-bar a {
	color: #fff;
	text-decoration: none;
	opacity: .9;
}

.fbp-utility-bar__left {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
}

.fbp-utility-bar__phone {
	display: flex;
	align-items: center;
	gap: 6px;
}

.fbp-utility-bar__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--fbp-cyan);
	display: inline-block;
}

/* Main nav */
.fbp-nav-wrap {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(250, 248, 245, 0.96);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--fbp-border);
}

.fbp-nav {
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.fbp-nav__logo img {
	height: 60px;
	width: auto;
	object-fit: contain;
}

.fbp-nav__menu {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 500;
	color: var(--fbp-navy);
}

.fbp-nav__menu > a {
	text-decoration: none;
	color: var(--fbp-navy);
	padding: 10px 12px;
	border-radius: 8px;
}

.fbp-nav__menu > a:hover {
	background: rgba(46, 40, 104, 0.06);
}

.fbp-nav__dropdown {
	position: relative;
}

.fbp-nav__dropdown-toggle {
	padding: 10px 12px;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 5px;
}

.fbp-nav__dropdown-toggle:hover {
	background: rgba(46, 40, 104, 0.06);
}

.fbp-nav__dropdown-toggle span.fbp-caret {
	font-size: 10px;
}

.fbp-nav__dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(46, 40, 104, 0.16);
	padding: 8px;
	display: none;
	flex-direction: column;
	gap: 2px;
}

.fbp-nav__dropdown:hover .fbp-nav__dropdown-menu,
.fbp-nav__dropdown:focus-within .fbp-nav__dropdown-menu {
	display: flex;
}

.fbp-nav__dropdown-menu a {
	text-decoration: none;
	color: var(--fbp-navy);
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
}

.fbp-nav__dropdown-menu a:hover {
	background: rgba(46, 40, 104, 0.06);
}

.fbp-btn {
	text-decoration: none;
	font-weight: 600;
	border-radius: 999px;
	display: inline-block;
}

.fbp-btn--cyan {
	background: var(--fbp-cyan);
	color: #fff;
	box-shadow: 0 6px 16px rgba(19, 179, 220, 0.35);
}

.fbp-btn--cyan:hover {
	background: var(--fbp-cyan-dark);
	color: #fff;
}

.fbp-btn--navy {
	background: var(--fbp-navy);
	color: #fff;
}

.fbp-btn--navy:hover {
	color: #fff;
	opacity: .9;
}

.fbp-btn--outline {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: #fff;
}

.fbp-btn--outline:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.18);
}

.fbp-btn--nav {
	font-size: 14px;
	padding: 12px 22px;
	white-space: nowrap;
}

.fbp-btn--lg {
	font-size: 15px;
	padding: 14px 26px;
}

/* Placeholder image blocks (assets pending upload) */
.fbp-img-pending {
	background: linear-gradient(135deg, var(--fbp-navy) 0%, var(--fbp-cyan) 100%);
	border-radius: 16px;
	display: block;
	width: 100%;
}

/* Footer */
.fbp-footer {
	background: var(--fbp-navy-dark);
	color: rgba(255, 255, 255, 0.75);
	padding: 72px 32px 32px;
}

.fbp-footer a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

.fbp-footer a:hover {
	color: #fff;
}

.fbp-footer__grid {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 56px;
}

.fbp-footer__logo {
	height: 48px;
	filter: brightness(0) invert(1);
	margin-bottom: 18px;
}

.fbp-footer h5 {
	color: #fff;
	font-size: 14px;
	margin-bottom: 16px;
	letter-spacing: .03em;
	font-family: 'Work Sans', sans-serif;
}

.fbp-footer__links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 14px;
}

.fbp-footer__bottom {
	max-width: 1280px;
	margin: 0 auto;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 13px;
}

.fbp-footer__social {
	display: flex;
	gap: 16px;
	font-size: 13px;
	font-weight: 600;
	flex-wrap: wrap;
}

.fbp-footer__social-divider {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin: 18px 0 14px;
}

.fbp-footer__social-icons {
	display: flex;
	gap: 10px;
}

.fbp-social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	flex-shrink: 0;
}

.fbp-social-icon--facebook { background: #1877f2; }
.fbp-social-icon--instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.fbp-social-icon--youtube { background: #ff0000; }
.fbp-social-icon--tiktok { background: #000; }
.fbp-social-icon--x { background: #000; }
.fbp-social-icon--linkedin { background: #0a66c2; }

@media (max-width: 782px) {
	.fbp-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
	.fbp-nav__menu {
		display: none;
	}
}

/* Page sections */
.fbp-section {
	max-width: 1280px;
	margin: 0 auto;
	padding: 96px 32px;
}

.fbp-section--alt {
	background: var(--fbp-cream-alt);
	padding: 96px 0;
}

.fbp-section--alt .fbp-section-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
}

.fbp-eyebrow {
	color: var(--fbp-cyan);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

/* Hero */
.fbp-hero {
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: flex-end;
	background-size: cover;
	background-position: center 30%;
}

.fbp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(27, 24, 58, 0.92) 0%, rgba(27, 24, 58, 0.55) 45%, rgba(27, 24, 58, 0.25) 100%);
}

.fbp-bg--hero {
	background-image: url('../../uploads/2026/07/foto-de-portada-scaled.jpg');
}

.fbp-bg--voluntariado {
	background-image: url('assets/images/hero-voluntarias.jpg');
}

.fbp-hero__inner {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	padding: 120px 32px 72px;
	width: 100%;
	color: #fff;
}

.fbp-hero__content {
	max-width: 640px;
}

.fbp-hero h1 {
	font-size: 52px;
	line-height: 1.12;
	font-weight: 600;
	margin-bottom: 20px;
	color: #fff;
}

.fbp-hero p {
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 32px;
	max-width: 520px;
}

.fbp-badge {
	display: inline-block;
	background: rgba(19, 179, 220, 0.2);
	border: 1px solid rgba(19, 179, 220, 0.5);
	color: var(--fbp-cyan-light);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 20px;
}

.fbp-btn-row {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

/* Facts strip */
.fbp-facts {
	background: #fff;
	border-bottom: 1px solid var(--fbp-border);
}

.fbp-facts__grid {
	max-width: 1280px;
	margin: 0 auto;
	padding: 36px 32px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.fbp-facts__item {
	text-align: center;
	padding: 0 12px;
}

.fbp-facts__item--border {
	border-left: 1px solid var(--fbp-border);
}

.fbp-facts__num {
	font-family: 'Lora', serif;
	font-size: 30px;
	color: var(--fbp-navy);
	font-weight: 600;
}

.fbp-facts__label {
	font-size: 13px;
	color: var(--fbp-text-soft);
	margin-top: 6px;
}

/* Two-column split */
.fbp-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.fbp-split h2, .fbp-section h2 {
	font-size: 36px;
	color: var(--fbp-ink);
	margin: 12px 0 20px;
	line-height: 1.2;
}

.fbp-split p, .fbp-section p {
	font-size: 16px;
	line-height: 1.75;
	color: var(--fbp-text);
	margin-bottom: 16px;
}

.fbp-link-arrow {
	text-decoration: none;
	color: var(--fbp-navy);
	font-weight: 600;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-bottom: 2px solid var(--fbp-cyan);
	padding-bottom: 2px;
}

.fbp-split__images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.fbp-split__images img, .fbp-split__images .fbp-img-pending {
	width: 100%;
	height: 280px;
	object-fit: cover;
	border-radius: 16px;
}

.fbp-split__images img:first-child {
	margin-top: 40px;
}

/* Mision / vision */
.fbp-mision-vision {
	background: var(--fbp-navy);
	color: #fff;
}

.fbp-mision-vision__grid {
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 32px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}

.fbp-mision-vision h3 {
	font-size: 24px;
	margin-bottom: 14px;
	color: var(--fbp-cyan-light);
}

.fbp-mision-vision p {
	font-size: 16px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.85);
}

/* Cards grid */
.fbp-cards-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.fbp-card {
	background: #fff;
	border: 1px solid var(--fbp-border);
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	display: block;
}

.fbp-card img, .fbp-card .fbp-img-pending {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 0;
}

.fbp-card__body {
	padding: 24px;
}

.fbp-card__body h4 {
	font-size: 18px;
	color: var(--fbp-ink);
	margin-bottom: 10px;
}

.fbp-card__body p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--fbp-text-soft);
	margin: 0;
}

.fbp-card__tag {
	font-size: 12px;
	color: var(--fbp-cyan);
	font-weight: 600;
}

.fbp-card__body h4.fbp-card__title-blog {
	font-size: 17px;
	margin: 8px 0 0;
	line-height: 1.35;
}

/* CTA overlay (voluntariado) */
.fbp-cta-overlay {
	position: relative;
	padding: 110px 32px;
	text-align: center;
	background-size: cover;
	background-position: center;
}

.fbp-cta-overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(27, 24, 58, 0.82);
}

.fbp-cta-overlay__content {
	position: relative;
	max-width: 680px;
	margin: 0 auto;
	color: #fff;
}

.fbp-cta-overlay__content h2 {
	font-size: 34px;
	margin-bottom: 16px;
	color: #fff;
}

.fbp-cta-overlay__content p {
	font-size: 16px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 28px;
}

/* Tags (sedes) */
.fbp-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.fbp-tag {
	background: #fff;
	border: 1px solid rgba(46, 40, 104, 0.15);
	color: var(--fbp-navy);
	font-size: 14px;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 999px;
}

/* Blog header row */
.fbp-row-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 40px;
	flex-wrap: wrap;
	gap: 16px;
}

.fbp-row-header h2 {
	margin: 12px 0 0;
}

/* Donaciones */
.fbp-donaciones {
	background: var(--fbp-cyan);
	padding: 88px 32px;
}

.fbp-donaciones__grid {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 56px;
	align-items: center;
}

.fbp-donaciones__grid h2 {
	color: #fff;
	font-size: 34px;
	margin-bottom: 16px;
}

.fbp-donaciones__grid > div:first-child p {
	color: rgba(255, 255, 255, 0.92);
	font-size: 16px;
	line-height: 1.75;
	margin-bottom: 28px;
	max-width: 520px;
}

.fbp-donaciones__card {
	background: #fff;
	border-radius: 20px;
	padding: 32px;
}

.fbp-donaciones__card h4 {
	font-size: 15px;
	color: var(--fbp-navy);
	margin-bottom: 16px;
	font-weight: 600;
}

.fbp-donaciones__card .fbp-accounts {
	font-size: 14px;
	color: var(--fbp-text);
	line-height: 1.9;
	margin-bottom: 20px;
}

/* Inner page header (colored banner + breadcrumb) */
.fbp-page-header {
	position: relative;
	background: var(--fbp-navy);
	padding: 64px 32px 88px;
}

.fbp-page-header__inner {
	max-width: 1280px;
	margin: 0 auto;
	color: #fff;
}

.fbp-page-header--narrow .fbp-page-header__inner {
	max-width: 960px;
}

.fbp-breadcrumb {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 16px;
}

.fbp-breadcrumb a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
}

.fbp-breadcrumb span {
	color: var(--fbp-cyan-light);
}

.fbp-page-header h1 {
	font-size: 44px;
	line-height: 1.15;
	font-weight: 600;
	max-width: 720px;
	color: #fff;
}

.fbp-page-header p.fbp-lead {
	font-size: 17px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
	max-width: 600px;
	margin-top: 20px;
}

/* Floating card that overlaps the page header */
.fbp-float-card {
	max-width: 1280px;
	margin: -48px auto 0;
	padding: 0 32px 72px;
	position: relative;
}

.fbp-float-card--narrow {
	max-width: 960px;
}

.fbp-float-card__inner {
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 20px 60px rgba(27, 24, 58, 0.1);
	padding: 56px;
}

/* Pull quote */
.fbp-quote {
	font-family: 'Lora', serif;
	font-style: italic;
	font-size: 26px;
	line-height: 1.5;
	color: var(--fbp-ink);
	margin-bottom: 24px;
}

.fbp-quote-author {
	font-size: 15px;
	font-weight: 600;
	color: var(--fbp-navy);
}

.fbp-quote-meta {
	font-size: 13px;
	color: var(--fbp-text-soft);
	margin-top: 2px;
}

/* Data table */
.fbp-table-wrap {
	overflow-x: auto;
}

.fbp-table {
	border-collapse: collapse;
	width: 100%;
}

.fbp-table th, .fbp-table td {
	text-align: left;
	padding: 12px 14px;
	font-size: 14px;
	border-bottom: 1px solid var(--fbp-border);
}

.fbp-table th {
	color: var(--fbp-navy);
	font-weight: 700;
	background: var(--fbp-cream-alt);
}

.fbp-table td {
	color: var(--fbp-text);
}

/* Form */
.fbp-form-card {
	background: #fff;
	border: 1px solid var(--fbp-border);
	border-radius: 24px;
	padding: 44px;
}

.fbp-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fbp-form input[type="text"],
.fbp-form input[type="tel"],
.fbp-form input[type="email"],
.fbp-form select,
.fbp-form textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(46, 40, 104, 0.2);
	border-radius: 10px;
	font-size: 15px;
	font-family: inherit;
	color: var(--fbp-ink);
	background: #fff;
}

.fbp-form textarea {
	resize: vertical;
}

.fbp-form label.fbp-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	color: var(--fbp-text-soft);
	line-height: 1.5;
}

.fbp-form label.fbp-consent input {
	margin-top: 2px;
}

.fbp-form button {
	background: var(--fbp-navy);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	padding: 15px 24px;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	margin-top: 8px;
}

.fbp-form-note {
	font-size: 12px;
	color: var(--fbp-text-soft);
	margin-top: 10px;
}

/* Video thumbnail */
.fbp-video-thumb {
	text-decoration: none;
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	display: block;
	height: 200px;
}

.fbp-video-thumb img, .fbp-video-thumb .fbp-img-pending {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.fbp-video-thumb__scrim {
	position: absolute;
	inset: 0;
	background: rgba(27, 24, 58, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
}

.fbp-video-thumb__play {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
}

.fbp-video-thumb__play span {
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 16px solid var(--fbp-navy);
	margin-left: 4px;
	display: block;
}

.fbp-video-thumb__caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 14px;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

/* Video popup */
.fbp-video-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(15, 13, 33, 0.88);
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.fbp-video-modal.is-open {
	display: flex;
}

.fbp-video-modal__inner {
	position: relative;
	width: 100%;
	max-width: 900px;
}

.fbp-video-modal__inner video {
	width: 100%;
	max-height: 80vh;
	border-radius: 12px;
	display: block;
	background: #000;
}

.fbp-video-modal__close {
	position: absolute;
	top: -44px;
	right: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

/* Invisible dFlip trigger: real click target is our own styled image/link */
.fbp-df-hidden {
	display: none;
}

/* Photo carousel (Testimonios gallery) */
.fbp-photo-carousel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
}

.fbp-photo-carousel__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 4px;
}

.fbp-photo-carousel__item {
	flex: 0 0 calc(25% - 15px);
	scroll-snap-align: start;
	border-radius: 14px;
	overflow: hidden;
	display: block;
	height: 220px;
}

.fbp-photo-carousel__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.fbp-photo-carousel__item:hover img {
	transform: scale(1.04);
}

.fbp-photo-carousel__arrow {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--fbp-border);
	background: #fff;
	color: var(--fbp-navy);
	font-size: 20px;
	cursor: pointer;
}

@media (max-width: 782px) {
	.fbp-photo-carousel__item {
		flex-basis: calc(50% - 10px);
	}
}

/* Image popup (reuses the video modal's chrome) */
.fbp-image-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(15, 13, 33, 0.88);
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.fbp-image-modal.is-open {
	display: flex;
}

.fbp-image-modal__inner {
	position: relative;
	max-width: 900px;
	max-height: 85vh;
}

.fbp-image-modal__inner img {
	max-width: 100%;
	max-height: 85vh;
	border-radius: 12px;
	display: block;
}

/* Back-to-top button (bottom-left, so it never overlaps the WhatsApp
   button which sits bottom-right at z-index 9000) */
.fbp-back-to-top {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 8000;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: none;
	background: var(--fbp-cyan);
	box-shadow: 0 8px 20px rgba(27, 24, 58, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px) scale(0.85);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.fbp-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
	animation: fbp-back-to-top-bounce 2.4s ease-in-out infinite;
}

.fbp-back-to-top:hover {
	background: var(--fbp-cyan-dark);
}

@keyframes fbp-back-to-top-bounce {
	0%, 100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(-6px) scale(1); }
}

@media (max-width: 782px) {
	.fbp-back-to-top {
		left: 14px;
		bottom: 14px;
	}
}

/* Sedes hover map */
.fbp-map-wrap {
	position: relative;
	width: 60%;
	margin: 0 auto;
}

.fbp-map-wrap img {
	width: 100%;
	display: block;
	border-radius: 16px;
}

.fbp-hotspot {
	position: absolute;
	transform: translate(-50%, -50%);
}

.fbp-hotspot__dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--fbp-cyan);
	border: 3px solid #fff;
	box-shadow: 0 0 0 4px rgba(19, 179, 220, 0.35);
	cursor: pointer;
}

.fbp-hotspot__dot--alt {
	background: var(--fbp-cyan-light);
	box-shadow: 0 0 0 4px rgba(95, 214, 242, 0.4);
}

.fbp-hotspot__tip {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(27, 24, 58, 0.2);
	padding: 14px 16px;
	min-width: 190px;
	white-space: nowrap;
	display: none;
}

.fbp-hotspot:hover .fbp-hotspot__tip,
.fbp-hotspot:focus-within .fbp-hotspot__tip {
	display: block;
}

.fbp-hotspot__tip-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--fbp-ink);
}

.fbp-hotspot__tip-sub {
	font-size: 12px;
	color: var(--fbp-text-soft);
	margin-top: 4px;
}

/* Sede list cards */
.fbp-sede-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.fbp-sede-card {
	background: #fff;
	border: 1px solid var(--fbp-border);
	border-radius: 16px;
	padding: 28px;
}

.fbp-sede-card--main {
	border: 2px solid var(--fbp-cyan);
}

.fbp-sede-card__badge {
	background: var(--fbp-cyan);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 4px 10px;
	border-radius: 999px;
}

.fbp-sede-card h3 {
	font-size: 19px;
	color: var(--fbp-ink);
	margin: 14px 0 10px;
}

.fbp-sede-card__info {
	font-size: 14px;
	color: var(--fbp-text-soft);
	line-height: 1.8;
}

.fbp-sede-card__link {
	display: inline-block;
	margin-top: 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fbp-navy);
	border-bottom: 2px solid var(--fbp-cyan);
	text-decoration: none;
}

/* Pagination */
.fbp-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 56px;
}

.fbp-pagination a, .fbp-pagination span {
	text-decoration: none;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-size: 14px;
	color: var(--fbp-navy);
}

.fbp-pagination a {
	border: 1px solid var(--fbp-border);
	font-weight: 600;
}

.fbp-pagination a.is-active {
	background: var(--fbp-navy);
	color: #fff;
	border: none;
}

.fbp-pagination span {
	color: #9a99a8;
}

/* Course filter buttons (Cursos page) */
.fbp-filter-bar {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(27, 24, 58, 0.1);
	padding: 24px 32px;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.fbp-filter-btn {
	border: none;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--fbp-cream-alt);
	color: var(--fbp-navy);
}

.fbp-filter-btn.is-active {
	background: var(--fbp-navy);
	color: #fff;
}

.fbp-course-card {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 8px 24px rgba(27, 24, 58, 0.06);
}

.fbp-course-card--dark {
	background: var(--fbp-navy);
}

.fbp-course-card__media {
	position: relative;
}

.fbp-course-card__media img, .fbp-course-card__media .fbp-img-pending {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.fbp-course-card__tag {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(27, 24, 58, 0.85);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: 999px;
}

.fbp-course-card__body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.fbp-course-card__body h3 {
	font-size: 17px;
	color: var(--fbp-ink);
	margin-bottom: 10px;
	line-height: 1.3;
}

.fbp-course-card__body p {
	font-size: 13px;
	color: var(--fbp-text-soft);
	line-height: 1.6;
	margin-bottom: 16px;
	flex: 1;
}

.fbp-course-card__cta {
	text-align: center;
	border: 1.5px solid var(--fbp-navy);
	color: var(--fbp-navy);
	font-weight: 600;
	font-size: 13px;
	padding: 10px 16px;
	border-radius: 999px;
	text-decoration: none;
}

.fbp-course-card--dark h3, .fbp-course-card--dark p {
	color: #fff;
}

.fbp-course-card--dark p {
	color: rgba(255, 255, 255, 0.8);
}

.fbp-course-card__cta--filled {
	background: var(--fbp-cyan);
	border: none;
	color: #fff;
}

.fbp-course-eyebrow {
	display: inline-block;
	background: rgba(19, 179, 220, 0.2);
	border: 1px solid rgba(19, 179, 220, 0.5);
	color: var(--fbp-cyan-light);
	font-size: 11px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
}

.fbp-req-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.fbp-req-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 15px;
	color: var(--fbp-text);
	line-height: 1.6;
}

.fbp-req-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--fbp-cyan);
	margin-top: 8px;
	flex-shrink: 0;
}

/* ODS icon row */
.fbp-ods-row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.fbp-ods-row img {
	width: 96px;
	height: 96px;
	border-radius: 12px;
}

/* CTA banner (colored, split) */
.fbp-cta-banner {
	border-radius: 24px;
	padding: 56px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
}

.fbp-cta-banner--navy {
	background: var(--fbp-navy);
}

.fbp-cta-banner--cyan {
	background: var(--fbp-cyan);
}

.fbp-cta-banner h3 {
	font-size: 26px;
	margin-bottom: 10px;
	color: #fff;
}

.fbp-cta-banner p {
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	max-width: 560px;
}

.fbp-cta-banner .fbp-btn {
	padding: 15px 28px;
	font-size: 15px;
	white-space: nowrap;
}

.fbp-contact-strip {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px 96px;
}

.fbp-contact-strip__inner {
	background: #fff;
	border: 1px solid var(--fbp-border);
	border-radius: 20px;
	padding: 40px 48px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
}

.fbp-contact-strip h3 {
	font-size: 20px;
	color: var(--fbp-ink);
	margin-bottom: 8px;
}

.fbp-contact-strip p {
	font-size: 14px;
	color: var(--fbp-text-soft);
	margin: 0;
}

.fbp-info-card {
	background: #fff;
	border: 1px solid var(--fbp-border);
	border-radius: 20px;
	padding: 32px;
}

.fbp-info-card__eyebrow {
	font-size: 12px;
	font-weight: 700;
	color: var(--fbp-cyan);
	letter-spacing: .03em;
	text-transform: uppercase;
}

.fbp-info-card h3 {
	font-size: 18px;
	color: var(--fbp-ink);
	margin: 10px 0 6px;
}

.fbp-map-embed {
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--fbp-border);
}

.fbp-map-embed iframe {
	width: 100%;
	height: 400px;
	border: 0;
	display: block;
}

/* Responsive */
@media (max-width: 900px) {
	.fbp-split,
	.fbp-facts__grid,
	.fbp-cards-3,
	.fbp-mision-vision__grid,
	.fbp-donaciones__grid,
	.fbp-sede-grid,
	.fbp-course-card-grid-3,
	.fbp-course-card-grid-4 {
		grid-template-columns: 1fr !important;
	}
	.fbp-facts__item--border {
		border-left: none;
		border-top: 1px solid var(--fbp-border);
		padding-top: 16px;
	}
	.fbp-hero h1 {
		font-size: 36px;
	}
	.fbp-page-header h1 {
		font-size: 32px;
	}
	.fbp-float-card__inner {
		padding: 32px;
	}
	.fbp-map-wrap {
		width: 100%;
	}
}

.fbp-course-card-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.fbp-course-card-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* Indicadores (Inicio) */
.fbp-indicators {
	background: #fff;
	border-bottom: 1px solid var(--fbp-border);
	padding: 64px 32px;
}

.fbp-indicators__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.fbp-indicators__header {
	text-align: center;
	margin-bottom: 40px;
}

.fbp-indicators__label {
	color: var(--fbp-cyan);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.fbp-indicators__stat {
	font-family: 'Lora', serif;
	font-size: 40px;
	font-weight: 600;
	color: var(--fbp-navy);
	margin: 8px 0 4px;
}

.fbp-indicators__sub {
	font-size: 14px;
	color: var(--fbp-text-soft);
}

.fbp-indicators__heading {
	font-size: 24px;
	color: var(--fbp-ink);
	text-align: center;
	margin: 0 0 40px;
}

.fbp-indicators-row {
	display: grid;
	gap: 24px;
	margin: 0 auto;
}

.fbp-indicators-row--4 {
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 32px;
}

.fbp-indicators-row--3 {
	grid-template-columns: repeat(3, 1fr);
	max-width: 900px;
}

.fbp-indicator-item {
	text-align: center;
	padding: 0 8px;
}

.fbp-indicator-item__icon {
	display: inline-block;
	width: 32px;
	height: 32px;
	margin: 0 auto 10px;
	color: var(--fbp-navy);
}

.fbp-indicator-item__icon svg {
	width: 100%;
	height: 100%;
	display: block;
	fill: currentColor;
}

.fbp-indicator-item__num {
	font-family: 'Lora', serif;
	font-size: 34px;
	font-weight: 600;
	color: var(--fbp-navy);
	line-height: 1;
}

.fbp-indicator-item__label {
	font-size: 13px;
	color: var(--fbp-text-soft);
	line-height: 1.4;
	margin-top: 8px;
}

@media (max-width: 900px) {
	.fbp-indicators-row--4,
	.fbp-indicators-row--3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.fbp-indicators-row--4,
	.fbp-indicators-row--3 {
		grid-template-columns: 1fr;
	}
}
