/* ==========================================================================
   Facultad de Teología — Design System
   Prestigious university aesthetic
   ========================================================================== */

:root {
	/* Logo-derived palette — Facultad de Teología Vivencial (IPCSR) */
	--ft-navy: #1a1f52;
	--ft-navy-light: #2e3568;
	--ft-navy-muted: #464682;
	--ft-blue: #5a6299;
	--ft-blue-light: #727aac;
	--ft-red: #b83030;
	--ft-red-light: #c84545;
	--ft-red-dark: #8e2828;
	--ft-gold: #c9a227;
	--ft-gold-light: #dbb840;
	--ft-cream: #f8f7f5;
	--ft-cream-dark: #ebe9e6;
	--ft-white: #ffffff;
	--ft-text: #1a1f52;
	--ft-text-muted: #5a6278;
	--ft-text-light: #8a9099;
	--ft-border: rgba(26, 31, 82, 0.08);
	--ft-shadow-sm: 0 1px 3px rgba(26, 31, 82, 0.06);
	--ft-shadow-md: 0 8px 30px rgba(26, 31, 82, 0.08);
	--ft-shadow-lg: 0 20px 60px rgba(26, 31, 82, 0.12);
	/* Semantic aliases */
	--ft-burgundy: var(--ft-red);
	--ft-burgundy-light: var(--ft-red-light);
	--ft-radius-sm: 6px;
	--ft-radius-md: 12px;
	--ft-radius-lg: 20px;
	--ft-font-display: "Cormorant Garamond", "Georgia", serif;
	--ft-font-body: "DM Sans", system-ui, -apple-system, sans-serif;
	--ft-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--ft-container: 1280px;
	--ft-header-height: 80px;
}

/* --------------------------------------------------------------------------
   Base & Typography
   -------------------------------------------------------------------------- */

body.ft-modern {
	font-family: var(--ft-font-body);
	color: var(--ft-text);
	background-color: var(--ft-cream);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	--theme-palette-color-1: var(--ft-red);
	--theme-palette-color-2: var(--ft-red-dark);
	--theme-palette-color-3: var(--ft-text-muted);
	--theme-palette-color-4: var(--ft-navy);
	--theme-palette-color-5: var(--ft-cream-dark);
	--theme-palette-color-6: var(--ft-cream);
	--theme-palette-color-7: var(--ft-cream);
	--theme-palette-color-8: var(--ft-white);
}

body.ft-modern h1,
body.ft-modern h2,
body.ft-modern h3,
body.ft-modern h4,
body.ft-modern h5,
body.ft-modern h6,
.ft-heading {
	font-family: var(--ft-font-display);
	font-weight: 600;
	line-height: 1.15;
	color: var(--ft-navy);
	letter-spacing: -0.01em;
}

/* Hero headings must stay white over dark overlay */
.ft-hero .ft-heading,
.ft-hero h1,
.ft-hero__title {
	color: var(--ft-white) !important;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.ft-page-hero .ft-heading,
.ft-page-hero h1,
.ft-page-hero__title {
	color: var(--ft-white) !important;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.ft-container {
	width: 100%;
	max-width: var(--ft-container);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.ft-label {
	display: inline-block;
	font-family: var(--ft-font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ft-gold);
	margin-bottom: 0.75rem;
}

.ft-lead {
	font-size: clamp(1.05rem, 2vw, 1.2rem);
	line-height: 1.7;
	color: var(--ft-text-muted);
	max-width: 62ch;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.ft-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	font-family: var(--ft-font-body);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	border-radius: var(--ft-radius-sm);
	border: 2px solid transparent;
	cursor: pointer;
	transition: all var(--ft-transition);
}

.ft-btn--primary {
	background: var(--ft-burgundy);
	color: var(--ft-white);
	border-color: var(--ft-burgundy);
}

.ft-btn--primary:hover {
	background: var(--ft-gold);
	border-color: var(--ft-gold);
	color: var(--ft-navy);
	transform: translateY(-1px);
	box-shadow: var(--ft-shadow-md);
}

.ft-btn--secondary {
	background: transparent;
	color: var(--ft-white);
	border-color: rgba(255, 255, 255, 0.6);
}

.ft-btn--secondary:hover {
	background: var(--ft-gold);
	color: var(--ft-navy);
	border-color: var(--ft-gold);
}

.ft-btn--outline {
	background: transparent;
	color: var(--ft-navy);
	border-color: var(--ft-navy);
}

.ft-btn--outline:hover {
	background: var(--ft-gold);
	color: var(--ft-navy);
	border-color: var(--ft-gold);
}

.ft-btn--gold {
	background: var(--ft-gold);
	color: var(--ft-navy);
	border-color: var(--ft-gold);
}

.ft-btn--gold:hover {
	background: var(--ft-gold-light);
	border-color: var(--ft-gold-light);
	color: var(--ft-navy);
}

/* --------------------------------------------------------------------------
   Header — Blocksy overrides
   -------------------------------------------------------------------------- */

body.ft-modern #header,
body.ft-modern #header .ct-header {
	background: var(--ft-white) !important;
}

body.ft-modern #header {
	transition: box-shadow var(--ft-transition), background var(--ft-transition);
}

body.ft-modern.ft-header-scrolled #header {
	box-shadow: var(--ft-shadow-md);
}

/* Branding row: logo, socials, matricularme — always white */
body.ft-modern #header [data-row="top"],
body.ft-modern #header [data-row="top"] > *,
body.ft-modern #header [data-row="top"] .ct-container,
body.ft-modern #header [data-row="top"] [data-column],
body.ft-modern #header [data-row="top"] [data-column] > *,
body.ft-modern #header [data-row="top"] [data-items],
body.ft-modern #header [data-row="middle"]:has(.site-branding),
body.ft-modern #header [data-row="middle"]:has(.site-branding) .ct-container,
body.ft-modern #header [data-row="middle"]:has(.site-branding) [data-column],
body.ft-modern [data-header*="type-1"] [data-row="top"],
body.ft-modern [data-header*="type-1"] [data-row="middle"]:has(.site-branding) {
	background: var(--ft-white) !important;
	background-color: var(--ft-white) !important;
	border-bottom: 1px solid var(--ft-border);
}

/* Menu row — unified navy bar */
body.ft-modern #header [data-row="bottom"],
body.ft-modern #header [data-row="middle"]:has(.header-menu-1),
body.ft-modern #header [data-row="middle"]:has([data-id="menu"]),
body.ft-modern #header [data-row="bottom"] > *,
body.ft-modern #header [data-row="middle"]:has(.header-menu-1) > *,
body.ft-modern #header [data-row="bottom"] .ct-container,
body.ft-modern #header [data-row="middle"]:has(.header-menu-1) .ct-container,
body.ft-modern #header [data-row="bottom"] .ct-container-fluid,
body.ft-modern #header [data-row="middle"]:has(.header-menu-1) .ct-container-fluid,
body.ft-modern #header [data-row="bottom"] [data-column],
body.ft-modern #header [data-row="middle"]:has(.header-menu-1) [data-column],
body.ft-modern #header [data-row="bottom"] [data-column] > *,
body.ft-modern #header [data-row="middle"]:has(.header-menu-1) [data-column] > *,
body.ft-modern #header [data-id="menu"],
body.ft-modern #header [data-id="menu"] > *,
body.ft-modern #header nav[data-id="menu"],
body.ft-modern #header .header-menu-1,
body.ft-modern #header .menu-container,
body.ft-modern [data-header] [data-row="bottom"],
body.ft-modern .ct-header [data-id="menu"] > .ct-container,
body.ft-modern nav[data-menu="type-1"] {
	background-color: var(--ft-navy) !important;
	background-image: none !important;
	border-bottom: none;
}

body.ft-modern [data-header] .menu > li > a {
	font-family: var(--ft-font-body) !important;
	font-size: 0.82rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	color: rgba(255, 255, 255, 0.85) !important;
	padding-block: 1rem !important;
	transition: color var(--ft-transition) !important;
}

body.ft-modern [data-header] .menu > li > a:hover,
body.ft-modern [data-header] .menu > li.current-menu-item > a,
body.ft-modern [data-header] .menu > li.current_page_item > a {
	color: var(--ft-gold) !important;
	background: transparent !important;
}

body.ft-modern [data-header] .menu > li.current-menu-item > a::after,
body.ft-modern [data-header] .menu > li.current_page_item > a::after {
	content: "";
	display: block;
	height: 2px;
	background: var(--ft-gold);
	margin-top: 4px;
}

body.ft-modern #header .sub-menu,
body.ft-modern #header .sub-menu li {
	background-color: var(--ft-navy-light) !important;
}

body.ft-modern #header .sub-menu .ct-menu-link {
	color: rgba(255, 255, 255, 0.85) !important;
}

body.ft-modern #header .sub-menu .ct-menu-link:hover {
	color: var(--ft-gold) !important;
	background: transparent !important;
}

/* Override Blocksy purple header accents — keep CTA burgundy, not purple */
body.ft-modern [data-header] .ct-header-cta .ct-button,
body.ft-modern [data-header] a.ct-button,
body.ft-modern #header .ct-button {
	background: var(--ft-burgundy) !important;
	background-color: var(--ft-burgundy) !important;
	color: var(--ft-white) !important;
	border: none !important;
	border-radius: var(--ft-radius-sm) !important;
	font-family: var(--ft-font-body) !important;
	font-weight: 600 !important;
	font-size: 0.85rem !important;
	padding: 0.65rem 1.25rem !important;
	transition: all var(--ft-transition) !important;
}

body.ft-modern [data-header] .ct-header-cta .ct-button:hover,
body.ft-modern [data-header] a.ct-button:hover,
body.ft-modern #header .ct-button:hover {
	background: var(--ft-gold) !important;
	background-color: var(--ft-gold) !important;
	color: var(--ft-navy) !important;
	transform: translateY(-1px);
}

/* Top row icons/links on white background */
body.ft-modern [data-header] [data-row="top"] .ct-social-box a,
body.ft-modern [data-header] [data-row="top"] .ct-header-search {
	color: var(--ft-navy) !important;
}

body.ft-modern [data-header] [data-row="top"] .ct-social-box a:hover,
body.ft-modern [data-header] [data-row="top"] .ct-header-search:hover {
	color: var(--ft-burgundy) !important;
}

body.ft-modern [data-header] [data-row="top"] .ct-social-box a {
	opacity: 0.75;
	transition: opacity var(--ft-transition), color var(--ft-transition);
}

body.ft-modern [data-header] [data-row="top"] .ct-social-box a:hover {
	opacity: 1;
}

body.ft-modern [data-header] .site-logo img,
body.ft-modern [data-header] .site-branding img {
	max-height: 72px;
	width: auto;
}

body.ft-modern [data-header] .menu .ct-menu-link {
	transition: color var(--ft-transition) !important;
}

/* --------------------------------------------------------------------------
   Mobile offcanvas menu
   -------------------------------------------------------------------------- */

body.ft-modern #offcanvas {
	--side-panel-width: min(340px, calc(100vw - 2.5rem));
}

body.ft-modern #offcanvas .ct-panel-inner {
	background:
		radial-gradient(circle at 50% 0%, rgba(201, 162, 39, 0.16) 0%, transparent 34%),
		linear-gradient(180deg, #23266a 0%, var(--ft-navy) 42%, #0f133d 100%) !important;
}

body.ft-modern #offcanvas .ct-panel-actions {
	padding: 1rem 1.25rem !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.ft-modern #offcanvas .ct-toggle-close {
	color: rgba(255, 255, 255, 0.75) !important;
}

body.ft-modern #offcanvas .ct-toggle-close:hover {
	color: var(--ft-gold) !important;
}

body.ft-modern #offcanvas [data-device="mobile"] .ct-panel-content-inner {
	padding: 0 0 2rem;
}

.ft-mobile-menu-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	padding: 1.25rem 1.5rem 1.45rem;
	border-bottom: 1px solid rgba(201, 162, 39, 0.24);
	margin: 0 0 0.35rem;
	text-align: center;
	width: 100%;
	background:
		radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.76) 42%, transparent 80%),
		linear-gradient(180deg, rgba(248, 247, 245, 0.96) 0%, rgba(235, 233, 230, 0.82) 72%, rgba(26, 31, 82, 0.08) 100%);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.35), 0 14px 32px rgba(0, 0, 0, 0.14);
}

.ft-mobile-menu-logo a {
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 0;
	width: 100%;
}

.ft-mobile-menu-logo img {
	max-height: 80px;
	width: auto;
	height: auto;
	filter: drop-shadow(0 4px 10px rgba(26, 31, 82, 0.22));
}

.ft-mobile-menu-logo__label {
	font-family: var(--ft-font-display);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--ft-navy);
	line-height: 1.3;
	max-width: 16ch;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.ft-modern #offcanvas [data-device="mobile"] .mobile-menu {
	padding: 0.5rem 0;
}

body.ft-modern #offcanvas [data-device="mobile"] .ct-sub-menu-parent {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	justify-content: stretch;
	align-items: center;
	width: 100%;
	gap: 0.35rem;
}

body.ft-modern #offcanvas [data-device="mobile"] .menu > li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	position: relative;
}

body.ft-modern #offcanvas [data-device="mobile"] .menu > li:last-child {
	border-bottom: none;
}

body.ft-modern #offcanvas [data-device="mobile"] .ct-menu-link {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	font-family: var(--ft-font-body) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em !important;
	text-transform: none !important;
	text-align: center !important;
	color: rgba(255, 255, 255, 0.88) !important;
	padding: 0.95rem 1.5rem !important;
	position: relative;
	transition: color var(--ft-transition), background var(--ft-transition), text-shadow var(--ft-transition), letter-spacing var(--ft-transition) !important;
}

body.ft-modern #offcanvas [data-device="mobile"] .ct-sub-menu-parent > .ct-menu-link {
	grid-column: 2;
	flex: 0 1 auto !important;
	width: auto !important;
}

body.ft-modern #offcanvas [data-device="mobile"] .ct-menu-link:hover,
body.ft-modern #offcanvas [data-device="mobile"] .current-menu-item > .ct-menu-link,
body.ft-modern #offcanvas [data-device="mobile"] .current_page_item > .ct-menu-link {
	color: var(--ft-gold) !important;
	background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.16), transparent) !important;
	letter-spacing: 0.075em !important;
	text-shadow: 0 0 18px rgba(201, 162, 39, 0.45);
}

body.ft-modern #offcanvas [data-device="mobile"] .ct-menu-link:hover::after,
body.ft-modern #offcanvas [data-device="mobile"] .current-menu-item > .ct-menu-link::after,
body.ft-modern #offcanvas [data-device="mobile"] .current_page_item > .ct-menu-link::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0.55rem;
	width: 38px;
	height: 2px;
	border-radius: 999px;
	background: var(--ft-gold);
	box-shadow: 0 0 14px rgba(201, 162, 39, 0.7);
	transform: translateX(-50%);
}

body.ft-modern #offcanvas [data-device="mobile"] .sub-menu {
	background: rgba(0, 0, 0, 0.15) !important;
	padding: 0.25rem 0 0.5rem !important;
}

body.ft-modern #offcanvas [data-device="mobile"] .sub-menu .ct-menu-link {
	font-size: 0.92rem !important;
	font-weight: 500 !important;
	padding: 0.75rem 1.5rem 0.75rem 2rem !important;
	text-align: center !important;
	color: rgba(255, 255, 255, 0.72) !important;
}

body.ft-modern #offcanvas [data-device="mobile"] .ct-toggle-dropdown-mobile {
	grid-column: 3;
	justify-self: start;
	flex: 0 0 auto;
	color: rgba(255, 255, 255, 0.6) !important;
}

body.ft-modern #offcanvas [data-device="mobile"] .ct-header-socials {
	display: flex !important;
	justify-content: center !important;
	width: 100% !important;
	margin-inline: auto !important;
}

body.ft-modern #offcanvas [data-device="mobile"] .ct-social-box {
	display: flex !important;
	width: max-content !important;
	padding: 1.25rem 0 0 !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 0.75rem;
	margin-inline: 0 !important;
	position: static;
	left: auto;
	transform: none;
	text-align: center;
}

body.ft-modern #offcanvas [data-device="mobile"] .ct-social-box a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.7) !important;
	background: rgba(255, 255, 255, 0.04);
	transition: all var(--ft-transition) !important;
}

body.ft-modern #offcanvas [data-device="mobile"] .ct-social-box a:hover {
	color: var(--ft-navy) !important;
	background: var(--ft-gold) !important;
	border-color: var(--ft-gold);
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(201, 162, 39, 0.24);
}


/* --------------------------------------------------------------------------
   Custom Footer
   -------------------------------------------------------------------------- */

body.ft-modern [data-footer],
body.ft-modern #footer {
	display: none !important;
}

.ft-footer {
	background: var(--ft-navy);
	color: rgba(255, 255, 255, 0.75);
	padding-top: clamp(3rem, 6vw, 5rem);
}

.ft-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: clamp(2rem, 4vw, 3rem);
	padding-bottom: 3rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ft-footer__title {
	font-family: var(--ft-font-display);
	font-size: 1.35rem;
	color: var(--ft-white);
	margin-bottom: 1rem;
}

.ft-footer__desc {
	font-size: 0.9rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.65);
	margin-bottom: 1.25rem;
}

.ft-footer__social {
	display: flex;
	gap: 0.75rem;
}

.ft-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.7);
	transition: all var(--ft-transition);
}

.ft-footer__social a:hover {
	background: var(--ft-gold);
	border-color: var(--ft-gold);
	color: var(--ft-navy);
}

.ft-footer__heading {
	font-family: var(--ft-font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ft-gold);
	margin-bottom: 1.25rem;
}

.ft-footer__links,
.ft-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ft-footer__links li,
.ft-footer__contact li {
	margin-bottom: 0.65rem;
}

.ft-footer__links a,
.ft-footer__contact a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 0.9rem;
	transition: color var(--ft-transition);
}

.ft-footer__links a:hover,
.ft-footer__contact a:hover {
	color: var(--ft-gold);
}

.ft-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.88rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.65);
}

.ft-footer__contact svg {
	flex-shrink: 0;
	margin-top: 3px;
	color: var(--ft-gold);
}

.ft-footer__platforms {
	display: flex;
	gap: 0.5rem;
	margin-top: 1rem;
}

.ft-footer__platform {
	padding: 0.35rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 100px;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: all var(--ft-transition);
}

.ft-footer__platform:hover {
	border-color: var(--ft-gold);
	color: var(--ft-gold);
}

.ft-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	padding-block: 1.5rem;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.45);
}

.ft-footer__bottom p {
	margin: 0;
}

.ft-footer__legal {
	display: flex;
	gap: 1.5rem;
}

.ft-footer__legal a {
	color: rgba(255, 255, 255, 0.45);
	text-decoration: none;
	transition: color var(--ft-transition);
}

.ft-footer__legal a:hover {
	color: var(--ft-gold);
}

/* Hide Blocksy demo widgets (Trending now, Hello world) */
body.ft-modern .ct-trending-block,
body.ft-modern .ct-trending {
	display: none !important;
}

body.ft-modern aside[data-type="type-1"] {
	display: none !important;
}

body.ft-modern.page [data-structure*="sidebar"] .entries {
	max-width: 100% !important;
}

body.ft-modern .hero-section[data-type="type-1"],
body.ft-modern .entry-header .page-title,
body.ft-modern .entry-header .entry-title {
	display: none;
}

body.ft-modern.page-teologia .entry-header,
body.ft-modern.page-id-1642 .entry-header,
body.ft-modern.ft-custom-page .hero-section,
body.ft-modern.ft-custom-page #main-container .entries,
body.ft-modern.ft-custom-page .ct-sidebar,
body.ft-modern.ft-custom-page aside {
	display: none !important;
}

body.ft-modern.ft-custom-page #main-container {
	padding-top: 0;
}

body.ft-modern.ft-custom-page .ft-page {
	margin-top: 0;
}

/* --------------------------------------------------------------------------
   Inner Pages — Teología & general
   -------------------------------------------------------------------------- */

.ft-page-hero {
	position: relative;
	min-height: 380px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.ft-page-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.ft-page-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(26, 31, 82, 0.92) 0%, rgba(46, 53, 104, 0.78) 100%);
}

.ft-page-hero__content {
	position: relative;
	z-index: 1;
	padding-block: 4rem;
}

.ft-page-hero__title {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	margin-bottom: 1rem;
}

.ft-page-hero__desc {
	font-size: 1.1rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
	max-width: 62ch;
}

.ft-page-intro {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 3rem;
	align-items: start;
}

.ft-page-intro__text p {
	line-height: 1.75;
	color: var(--ft-text-muted);
	margin-bottom: 1rem;
}

.ft-page-intro__highlights {
	display: grid;
	gap: 1rem;
}

.ft-page-highlight {
	padding: 1.25rem 1.5rem;
	background: var(--ft-cream);
	border-radius: var(--ft-radius-md);
	border-left: 3px solid var(--ft-gold);
}

.ft-page-highlight strong {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ft-gold);
	margin-bottom: 0.25rem;
}

.ft-page-highlight span {
	font-size: 1rem;
	font-weight: 600;
	color: var(--ft-navy);
}

.ft-page-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.ft-page-feature {
	padding: 1.75rem;
	background: #fff;
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius-md);
	box-shadow: var(--ft-shadow-sm);
}

.ft-page-feature h3 {
	font-size: 1.15rem;
	margin-bottom: 0.75rem;
	color: var(--ft-navy);
}

.ft-page-feature p {
	margin: 0;
	line-height: 1.7;
	color: var(--ft-text-muted);
}

.ft-page-contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
}

.ft-page-contact__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 2rem;
}

.ft-page-contact__item {
	padding: 1.25rem 1.5rem;
	background: #fff;
	border-radius: var(--ft-radius-md);
	border: 1px solid var(--ft-border);
}

.ft-page-contact__item h3 {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ft-gold);
	margin-bottom: 0.5rem;
}

.ft-page-contact__item p {
	margin: 0;
	line-height: 1.65;
	color: var(--ft-text-muted);
}

.ft-page-contact__item a {
	color: var(--ft-navy);
	text-decoration: none;
}

.ft-page-contact__item a:hover {
	color: var(--ft-gold);
}

.ft-lead a:hover,
.ft-page-intro__text a:hover,
.ft-page-module__content a:hover,
.ft-section a:not(.ft-btn):hover {
	color: var(--ft-gold);
}

.ft-page-contact__map {
	border-radius: var(--ft-radius-lg);
	overflow: hidden;
	min-height: 360px;
	border: 1px solid var(--ft-border);
	box-shadow: var(--ft-shadow-md);
}

.ft-page-contact__map iframe {
	width: 100%;
	height: 100%;
	min-height: 360px;
	border: 0;
	display: block;
}

/* Contact form */
.ft-contact-form {
	padding: 2rem;
	background: var(--ft-white);
	border-radius: var(--ft-radius-lg);
	border: 1px solid var(--ft-border);
	box-shadow: var(--ft-shadow-md);
}

.ft-contact-form__title {
	font-family: var(--ft-font-display);
	font-size: 1.5rem;
	color: var(--ft-navy);
	margin: 0 0 0.5rem;
}

.ft-contact-form__desc {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--ft-text-muted);
	margin: 0 0 1.5rem;
}

.ft-contact-form__notice {
	padding: 0.875rem 1rem;
	border-radius: var(--ft-radius-sm);
	font-size: 0.9rem;
	line-height: 1.5;
	margin-bottom: 1.25rem;
}

.ft-contact-form__notice--success {
	background: rgba(61, 153, 112, 0.12);
	border: 1px solid rgba(61, 153, 112, 0.35);
	color: #2d6a4f;
}

.ft-contact-form__notice--error {
	background: rgba(184, 48, 48, 0.08);
	border: 1px solid rgba(184, 48, 48, 0.25);
	color: var(--ft-red-dark);
}

.ft-contact-form__form {
	display: grid;
	gap: 1.25rem;
}

.ft-contact-form__honeypot {
	display: none !important;
}

.ft-contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.ft-contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.ft-contact-form__field label {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ft-navy);
}

.ft-contact-form__field label span {
	color: var(--ft-red);
}

.ft-contact-form__field input,
.ft-contact-form__field select,
.ft-contact-form__field textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	font-family: var(--ft-font-body);
	font-size: 0.95rem;
	color: var(--ft-text);
	background: var(--ft-cream);
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius-sm);
	transition: border-color var(--ft-transition), box-shadow var(--ft-transition);
}

.ft-contact-form__field input:focus,
.ft-contact-form__field select:focus,
.ft-contact-form__field textarea:focus {
	outline: none;
	border-color: var(--ft-navy-muted);
	box-shadow: 0 0 0 3px rgba(70, 70, 130, 0.15);
}

.ft-contact-form__field textarea {
	resize: vertical;
	min-height: 120px;
}

.ft-contact-form__submit {
	width: 100%;
	margin-top: 0.25rem;
}

.ft-page-module {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
}

.ft-page-module--reverse .ft-page-module__image {
	order: -1;
}

.ft-page-module__content p {
	line-height: 1.75;
	color: var(--ft-text-muted);
	margin-bottom: 1.25rem;
}

.ft-page-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ft-page-list li {
	position: relative;
	padding-left: 1.25rem;
	margin-bottom: 0.6rem;
	color: var(--ft-text-muted);
	font-size: 0.95rem;
}

.ft-page-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ft-burgundy);
}

.ft-page-module__image {
	border-radius: var(--ft-radius-lg);
	overflow: hidden;
	aspect-ratio: 4/3;
}

.ft-page-module__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ft-curriculum {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.ft-curriculum__col {
	padding: 1.75rem;
	background: var(--ft-white);
	border-radius: var(--ft-radius-md);
	border: 1px solid var(--ft-border);
}

.ft-curriculum__col h3 {
	font-family: var(--ft-font-body);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ft-burgundy);
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--ft-cream-dark);
}

.ft-curriculum__col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ft-curriculum__col li {
	font-size: 0.88rem;
	color: var(--ft-text-muted);
	padding-block: 0.4rem;
	border-bottom: 1px solid var(--ft-border);
	line-height: 1.4;
}

.ft-curriculum__col li:last-child {
	border-bottom: none;
}



/* --------------------------------------------------------------------------
   Homepage — Hero
   -------------------------------------------------------------------------- */

.ft-hero {
	position: relative;
	min-height: clamp(520px, 85vh, 780px);
	overflow: hidden;
	background: var(--ft-navy);
}

.ft-hero__slides {
	position: absolute;
	inset: 0;
}

.ft-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.ft-hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.ft-hero__slide-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.05);
	transition: transform 8s ease;
}

.ft-hero__slide.is-active .ft-hero__slide-bg {
	transform: scale(1);
}

.ft-hero__slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(26, 31, 82, 0.90) 0%,
		rgba(46, 53, 104, 0.72) 50%,
		rgba(184, 48, 48, 0.30) 100%
	);
}

.ft-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: clamp(520px, 85vh, 780px);
	padding-block: 6rem 4rem;
}

.ft-hero__inner {
	max-width: 720px;
}

.ft-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ft-gold);
	margin-bottom: 1.5rem;
}

.ft-hero__eyebrow::before {
	content: "";
	width: 40px;
	height: 1px;
	background: var(--ft-gold);
}

.ft-hero__title {
	font-size: clamp(2.5rem, 6vw, 4.25rem);
	color: var(--ft-white);
	margin-bottom: 1.25rem;
	line-height: 1.08;
}

.ft-hero__desc {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
	margin-bottom: 2rem;
	max-width: 54ch;
}

.ft-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.ft-hero__nav {
	position: absolute;
	bottom: calc(3rem + 2.5rem);
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.ft-hero__dots {
	display: flex;
	gap: 0.5rem;
}

.ft-hero__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.4);
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: all var(--ft-transition);
}

.ft-hero__dot.is-active {
	background: var(--ft-gold);
	border-color: var(--ft-gold);
	width: 28px;
	border-radius: 5px;
}

.ft-hero__arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.08);
	color: var(--ft-white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--ft-transition);
	backdrop-filter: blur(8px);
}

.ft-hero__arrow:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.5);
}

.ft-hero__scroll {
	position: absolute;
	bottom: 2.5rem;
	right: clamp(1.25rem, 4vw, 2.5rem);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ft-hero__scroll-line {
	width: 1px;
	height: 40px;
	background: linear-gradient(to bottom, var(--ft-gold), transparent);
	animation: ft-scroll-pulse 2s ease infinite;
}

@keyframes ft-scroll-pulse {
	0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
	50% { opacity: 1; transform: scaleY(1); }
}

/* --------------------------------------------------------------------------
   Stats Bar
   -------------------------------------------------------------------------- */

.ft-stats {
	background: var(--ft-white);
	border-bottom: 1px solid var(--ft-border);
	margin-top: -3rem;
	position: relative;
	z-index: 4;
}

.ft-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	box-shadow: var(--ft-shadow-lg);
	border-radius: var(--ft-radius-md);
	overflow: hidden;
	background: var(--ft-white);
}

.ft-stats__item {
	padding: 2rem 1.5rem;
	text-align: center;
	border-right: 1px solid var(--ft-border);
}

.ft-stats__item:last-child {
	border-right: none;
}

.ft-stats__number {
	font-family: var(--ft-font-display);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	color: var(--ft-burgundy);
	line-height: 1;
	margin-bottom: 0.35rem;
}

.ft-stats__label {
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--ft-text-muted);
	letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Sections — Shared
   -------------------------------------------------------------------------- */

.ft-section {
	padding-block: clamp(4rem, 8vw, 6.5rem);
}

.ft-section--cream {
	background: var(--ft-cream);
}

.ft-section--white {
	background: var(--ft-white);
}

.ft-section--navy {
	background: var(--ft-navy);
	color: rgba(255, 255, 255, 0.85);
}

.ft-section--navy .ft-heading {
	color: var(--ft-white);
}

.ft-section__header {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ft-section__header--center {
	text-align: center;
}

.ft-section__header--center .ft-lead {
	margin-inline: auto;
}

.ft-section__title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   About / Mission
   -------------------------------------------------------------------------- */

.ft-about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.ft-about__image {
	position: relative;
	border-radius: var(--ft-radius-lg);
	overflow: hidden;
	aspect-ratio: 4/5;
}

.ft-about__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ft-about__image-accent {
	position: absolute;
	bottom: -1rem;
	right: -1rem;
	width: 60%;
	height: 60%;
	border: 3px solid var(--ft-gold);
	border-radius: var(--ft-radius-lg);
	z-index: -1;
}

.ft-about__features {
	display: grid;
	gap: 1.25rem;
	margin-top: 2rem;
}

.ft-about__feature {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.ft-about__feature-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: var(--ft-radius-sm);
	background: var(--ft-cream);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ft-burgundy);
}

.ft-about__feature h4 {
	font-family: var(--ft-font-body);
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
	color: var(--ft-navy);
}

.ft-about__feature p {
	font-size: 0.9rem;
	color: var(--ft-text-muted);
	line-height: 1.5;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Programs Grid
   -------------------------------------------------------------------------- */

.ft-programs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.ft-program {
	position: relative;
	border-radius: var(--ft-radius-md);
	overflow: hidden;
	background: var(--ft-white);
	box-shadow: var(--ft-shadow-sm);
	transition: all var(--ft-transition);
	border: 1px solid var(--ft-border);
}

.ft-program:hover {
	transform: translateY(-4px);
	box-shadow: var(--ft-shadow-lg);
}

.ft-program__image {
	position: relative;
	height: 220px;
	overflow: hidden;
}

.ft-program__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.ft-program:hover .ft-program__image img {
	transform: scale(1.05);
}

.ft-program__image-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(26, 31, 82, 0.75), transparent 60%);
}

.ft-program__badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: var(--ft-gold);
	color: var(--ft-navy);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.35rem 0.75rem;
	border-radius: var(--ft-radius-sm);
}

.ft-program__body {
	padding: 1.75rem;
}

.ft-program__title {
	font-size: 1.35rem;
	margin-bottom: 0.75rem;
}

.ft-program__desc {
	font-size: 0.92rem;
	color: var(--ft-text-muted);
	line-height: 1.6;
	margin-bottom: 1.25rem;
}

.ft-program__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ft-red);
	text-decoration: none;
	transition: color var(--ft-transition), gap var(--ft-transition);
}

.ft-program__link:hover {
	gap: 0.65rem;
	color: var(--ft-gold);
}

/* --------------------------------------------------------------------------
   Research Banner
   -------------------------------------------------------------------------- */

.ft-research {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 0;
	border-radius: var(--ft-radius-lg);
	overflow: hidden;
	background: var(--ft-navy-light);
}

.ft-research__content {
	padding: clamp(2.5rem, 5vw, 4rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ft-research__content .ft-heading {
	color: var(--ft-white);
}

.ft-research__content .ft-lead {
	color: rgba(255, 255, 255, 0.7);
}

.ft-research__image {
	min-height: 360px;
	background-size: cover;
	background-position: center;
}

.ft-research__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.ft-research__tag {
	padding: 0.4rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 100px;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Virtual Classroom CTA
   -------------------------------------------------------------------------- */

.ft-virtual {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.ft-virtual__card {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 2rem;
	background: var(--ft-white);
	border-radius: var(--ft-radius-md);
	border: 1px solid var(--ft-border);
	transition: all var(--ft-transition);
	text-decoration: none;
	color: inherit;
}

.ft-virtual__card:hover {
	border-color: var(--ft-gold);
	box-shadow: var(--ft-shadow-md);
	transform: translateY(-2px);
}

.ft-virtual__icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: var(--ft-radius-md);
	background: var(--ft-cream);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ft-navy);
}

.ft-virtual__card h3 {
	font-size: 1.2rem;
	margin-bottom: 0.35rem;
}

.ft-virtual__card p {
	font-size: 0.88rem;
	color: var(--ft-text-muted);
	margin: 0;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.ft-testimonials {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.ft-testimonial {
	padding: 2rem;
	background: var(--ft-white);
	border-radius: var(--ft-radius-md);
	border: 1px solid var(--ft-border);
	position: relative;
}

.ft-testimonial__quote {
	font-family: var(--ft-font-display);
	font-size: 3rem;
	line-height: 1;
	color: var(--ft-gold);
	opacity: 0.4;
	position: absolute;
	top: 1rem;
	right: 1.5rem;
}

.ft-testimonial__text {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--ft-text-muted);
	margin-bottom: 1.5rem;
	font-style: italic;
}

.ft-testimonial__author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ft-testimonial__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ft-cream-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--ft-font-display);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--ft-burgundy);
}

.ft-testimonial__name {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ft-navy);
}

.ft-testimonial__role {
	font-size: 0.78rem;
	color: var(--ft-text-light);
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.ft-cta {
	text-align: center;
	padding: clamp(4rem, 8vw, 6rem) 2rem;
	background: linear-gradient(135deg, var(--ft-navy) 0%, var(--ft-navy-light) 55%, var(--ft-red-dark) 100%);
	border-radius: var(--ft-radius-lg);
	position: relative;
	overflow: hidden;
}

.ft-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ft-cta__inner {
	position: relative;
	z-index: 1;
}

.ft-cta .ft-heading {
	color: var(--ft-white);
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 1rem;
}

.ft-cta .ft-lead {
	color: rgba(255, 255, 255, 0.8);
	margin-inline: auto;
	margin-bottom: 2rem;
}

.ft-cta__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

.ft-animate {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.ft-animate.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Inner pages — Elementor overrides
   -------------------------------------------------------------------------- */

body.ft-modern .elementor-widget-heading .elementor-heading-title {
	font-family: var(--ft-font-display) !important;
	color: var(--ft-navy) !important;
}

body.ft-modern .elementor-button {
	font-family: var(--ft-font-body) !important;
	border-radius: var(--ft-radius-sm) !important;
	font-weight: 600 !important;
	transition: all var(--ft-transition) !important;
}

body.ft-modern .elementor-button-link.elementor-size-sm,
body.ft-modern .elementor-button-link.elementor-size-md,
body.ft-modern .elementor-button-link.elementor-size-lg {
	background-color: var(--ft-burgundy) !important;
}

body.ft-modern .elementor-button-link:hover {
	background-color: var(--ft-gold) !important;
	color: var(--ft-navy) !important;
}

body.ft-modern #main-container {
	background: var(--ft-cream);
}

body.ft-modern .entry-content {
	font-family: var(--ft-font-body);
	line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Section dynamism — dividers, themes & alternating layouts
   -------------------------------------------------------------------------- */

.ft-section {
	position: relative;
	overflow: hidden;
}

.ft-section__divider {
	position: absolute;
	left: 0;
	right: 0;
	height: 64px;
	pointer-events: none;
	z-index: 2;
}

.ft-section__divider--top {
	top: 0;
	background: linear-gradient(to bottom, var(--ft-white), transparent);
}

.ft-section__bg-pattern {
	position: absolute;
	inset: 0;
	opacity: 0.04;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ft-section--dark {
	background: linear-gradient(160deg, var(--ft-navy) 0%, #141947 50%, var(--ft-navy-light) 100%);
	color: rgba(255, 255, 255, 0.88);
}

.ft-section--dark .ft-heading,
.ft-section--dark .ft-section__title {
	color: var(--ft-white);
}

.ft-section--dark .ft-lead {
	color: rgba(255, 255, 255, 0.72);
}

.ft-section--dark .ft-label {
	color: var(--ft-gold);
}

/* Stats — alternating accent columns */
.ft-stats__item:nth-child(1) { background: var(--ft-white); }
.ft-stats__item:nth-child(2) { background: #f3f2f0; }
.ft-stats__item:nth-child(3) { background: var(--ft-white); }
.ft-stats__item:nth-child(4) { background: linear-gradient(135deg, var(--ft-navy) 0%, var(--ft-navy-light) 100%); }
.ft-stats__item:nth-child(4) .ft-stats__number { color: var(--ft-gold); }
.ft-stats__item:nth-child(4) .ft-stats__label { color: rgba(255, 255, 255, 0.75); }
.ft-stats__item:nth-child(4) { border-right: none; }

.ft-stats__grid {
	border: 1px solid var(--ft-border);
}

/* About — cream with gold side accent */
.ft-section--about {
	background: linear-gradient(180deg, var(--ft-cream) 0%, #ebe9e6 100%);
}

.ft-section--about::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: linear-gradient(to bottom, var(--ft-navy-muted), var(--ft-red));
}

.ft-section--about .ft-about__feature {
	padding: 1rem 1.25rem;
	background: var(--ft-white);
	border-radius: var(--ft-radius-md);
	box-shadow: var(--ft-shadow-sm);
	border-left: 3px solid var(--ft-gold);
	transition: transform var(--ft-transition), box-shadow var(--ft-transition);
}

.ft-section--about .ft-about__feature:hover {
	transform: translateX(6px);
	box-shadow: var(--ft-shadow-md);
}

.ft-section--about .ft-about__feature-icon {
	background: linear-gradient(135deg, var(--ft-navy), var(--ft-navy-muted));
	color: var(--ft-white);
}

/* Programs — dark section, color-coded cards */
.ft-section--programs {
	padding-block: clamp(5rem, 10vw, 7rem);
}

.ft-section--programs::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 80px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
	pointer-events: none;
}

.ft-section--programs .ft-container {
	position: relative;
	z-index: 1;
}

.ft-program--1 { --ft-card-accent: var(--ft-red); }
.ft-program--2 { --ft-card-accent: var(--ft-navy-muted); }
.ft-program--3 { --ft-card-accent: var(--ft-blue); }

.ft-section--programs .ft-program {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
}

.ft-section--programs .ft-program::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--ft-card-accent, var(--ft-gold));
	z-index: 2;
}

.ft-section--programs .ft-program__body {
	background: var(--ft-white);
}

.ft-section--programs .ft-program__badge {
	background: var(--ft-card-accent, var(--ft-gold));
	color: var(--ft-navy);
}

.ft-section--programs .ft-program__link {
	color: var(--ft-burgundy);
}

.ft-section--programs .ft-program:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

/* Research — burgundy full-bleed card */
.ft-section--research {
	background: var(--ft-cream);
	padding-block: clamp(3rem, 6vw, 5rem);
}

.ft-section--research .ft-research {
	box-shadow: 0 30px 60px rgba(26, 31, 82, 0.15);
	border-radius: var(--ft-radius-lg);
	overflow: hidden;
}

.ft-section--research .ft-research__content {
	background: linear-gradient(145deg, var(--ft-navy) 0%, #141947 100%);
	padding: clamp(2.5rem, 5vw, 4rem);
}

.ft-section--research .ft-research__content .ft-heading,
.ft-section--research .ft-research__content .ft-section__title {
	color: var(--ft-white);
}

.ft-section--research .ft-research__content .ft-lead {
	color: rgba(255, 255, 255, 0.78);
}

.ft-section--research .ft-research__content .ft-label {
	color: var(--ft-gold);
}

.ft-section--research .ft-research__tag {
	border-color: rgba(255, 255, 255, 0.25);
	color: rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.06);
}

.ft-section--research .ft-research__image {
	min-height: 400px;
	position: relative;
}

.ft-section--research .ft-research__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, var(--ft-navy), transparent 30%);
}

/* Virtual — light gradient mesh */
.ft-section--virtual {
	background:
		radial-gradient(ellipse at 10% 20%, rgba(70, 70, 130, 0.10) 0%, transparent 50%),
		radial-gradient(ellipse at 90% 80%, rgba(184, 48, 48, 0.06) 0%, transparent 50%),
		var(--ft-white);
}

.ft-section--virtual .ft-virtual__card {
	background: var(--ft-white);
	border: none;
	box-shadow: var(--ft-shadow-md);
	padding: 2.5rem;
	position: relative;
	overflow: hidden;
}

.ft-section--virtual .ft-virtual__card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--ft-navy), var(--ft-navy-muted));
}

.ft-section--virtual .ft-virtual__card:first-child::before {
	background: linear-gradient(90deg, var(--ft-navy-muted), var(--ft-navy));
}

.ft-section--virtual .ft-virtual__card:last-child::before {
	background: linear-gradient(90deg, var(--ft-red), var(--ft-navy-muted));
}

.ft-section--virtual .ft-virtual__icon {
	width: 64px;
	height: 64px;
	border-radius: var(--ft-radius-md);
	background: linear-gradient(135deg, var(--ft-navy), var(--ft-navy-light));
	color: var(--ft-blue-light);
}

.ft-section--virtual .ft-virtual__card:hover .ft-virtual__icon {
	background: linear-gradient(135deg, var(--ft-red), var(--ft-red-light));
	color: var(--ft-white);
}

/* Testimonials — navy with gold accents */
.ft-section--testimonials {
	background: linear-gradient(180deg, var(--ft-navy) 0%, #0c1035 100%);
	color: rgba(255, 255, 255, 0.85);
	padding-block: clamp(5rem, 10vw, 7rem);
}

.ft-section--testimonials .ft-heading,
.ft-section--testimonials .ft-section__title {
	color: var(--ft-white);
}

.ft-section--testimonials .ft-lead {
	color: rgba(255, 255, 255, 0.65);
}

.ft-section--testimonials .ft-label {
	color: var(--ft-gold);
}

.ft-section--testimonials .ft-testimonial {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(6px);
}

.ft-section--testimonials .ft-testimonial:nth-child(2) {
	transform: translateY(1rem);
}

.ft-section--testimonials .ft-testimonial__text {
	color: rgba(255, 255, 255, 0.75);
}

.ft-section--testimonials .ft-testimonial__name {
	color: var(--ft-white);
}

.ft-section--testimonials .ft-testimonial__role {
	color: rgba(255, 255, 255, 0.5);
}

.ft-section--testimonials .ft-testimonial__avatar {
	background: linear-gradient(135deg, var(--ft-navy-muted), var(--ft-red));
	color: var(--ft-white);
}

/* Final CTA section wrapper */
.ft-section--cta-final {
	background: var(--ft-cream);
	padding-block: clamp(3rem, 6vw, 5rem);
}

.ft-section--cta-final .ft-cta {
	margin: 0;
}

/* Page modules — Teología alternating themes */
.ft-section--module-1 {
	background: linear-gradient(135deg, #f8f7f5 0%, #ebe9e6 100%);
}

.ft-section--module-1 .ft-page-module__content {
	padding: 2rem;
	background: var(--ft-white);
	border-radius: var(--ft-radius-lg);
	box-shadow: var(--ft-shadow-md);
	border-top: 4px solid var(--ft-gold);
}

.ft-section--module-2.ft-section--dark {
	background: linear-gradient(160deg, var(--ft-navy) 0%, #232d58 100%);
}

.ft-section--module-2 .ft-page-module__content {
	padding: 2rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--ft-radius-lg);
	border-top: 4px solid var(--ft-gold);
}

.ft-section--module-2 .ft-heading,
.ft-section--module-2 .ft-section__title {
	color: var(--ft-white);
}

.ft-section--module-2 .ft-page-module__content p,
.ft-section--module-2 .ft-page-list li {
	color: rgba(255, 255, 255, 0.75);
}

.ft-section--module-2 .ft-page-list li::before {
	background: var(--ft-gold);
}

.ft-section--module-3 {
	background:
		radial-gradient(circle at 80% 20%, rgba(70, 70, 130, 0.08) 0%, transparent 40%),
		var(--ft-white);
}

.ft-section--module-3 .ft-page-module__content {
	padding: 2rem;
	border-left: 4px solid var(--ft-burgundy);
	background: var(--ft-cream);
	border-radius: 0 var(--ft-radius-lg) var(--ft-radius-lg) 0;
}

.ft-section--module .ft-page-module__image {
	box-shadow: var(--ft-shadow-lg);
	border: 4px solid var(--ft-white);
}

/* Curriculum — tinted grid */
.ft-section--curriculum {
	background: linear-gradient(180deg, var(--ft-white) 0%, var(--ft-cream) 100%);
}

.ft-section--curriculum .ft-curriculum__col:nth-child(1) { border-top: 3px solid var(--ft-red); }
.ft-section--curriculum .ft-curriculum__col:nth-child(2) { border-top: 3px solid var(--ft-navy-muted); }
.ft-section--curriculum .ft-curriculum__col:nth-child(3) { border-top: 3px solid var(--ft-navy); }
.ft-section--curriculum .ft-curriculum__col:nth-child(4) { border-top: 3px solid var(--ft-blue); }

.ft-section--curriculum .ft-curriculum__col {
	box-shadow: var(--ft-shadow-sm);
	transition: transform var(--ft-transition), box-shadow var(--ft-transition);
}

.ft-section--curriculum .ft-curriculum__col:hover {
	transform: translateY(-4px);
	box-shadow: var(--ft-shadow-md);
}

/* Staggered reveal delays */
.ft-animate:nth-child(1) { transition-delay: 0s; }
.ft-animate:nth-child(2) { transition-delay: 0.1s; }
.ft-animate:nth-child(3) { transition-delay: 0.2s; }
.ft-animate:nth-child(4) { transition-delay: 0.3s; }

.ft-programs .ft-program:nth-child(1) { transition-delay: 0.05s; }
.ft-programs .ft-program:nth-child(2) { transition-delay: 0.15s; }
.ft-programs .ft-program:nth-child(3) { transition-delay: 0.25s; }

.ft-testimonials .ft-testimonial:nth-child(1) { transition-delay: 0s; }
.ft-testimonials .ft-testimonial:nth-child(2) { transition-delay: 0.12s; }
.ft-testimonials .ft-testimonial:nth-child(3) { transition-delay: 0.24s; }

/* Page intro highlights on teologia */
.ft-section--about .ft-page-highlight {
	background: var(--ft-white);
	box-shadow: var(--ft-shadow-sm);
	transition: transform var(--ft-transition);
}

.ft-section--about .ft-page-highlight:hover {
	transform: translateY(-3px);
	box-shadow: var(--ft-shadow-md);
}

.ft-section--about .ft-page-highlight:nth-child(2) { border-left-color: var(--ft-red); }
.ft-section--about .ft-page-highlight:nth-child(3) { border-left-color: var(--ft-navy-muted); }
.ft-section--about .ft-page-highlight:nth-child(4) { border-left-color: var(--ft-blue); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.ft-about {
		grid-template-columns: 1fr;
	}

	.ft-about__image {
		aspect-ratio: 16/9;
		max-height: 400px;
	}

	.ft-programs {
		grid-template-columns: repeat(2, 1fr);
	}

	.ft-research {
		grid-template-columns: 1fr;
	}

	.ft-research__image {
		min-height: 240px;
	}

	.ft-testimonials {
		grid-template-columns: 1fr;
	}

	.ft-section--testimonials .ft-testimonial:nth-child(2) {
		transform: none;
	}

	.ft-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ft-page-intro,
	.ft-page-module,
	.ft-page-contact {
		grid-template-columns: 1fr;
	}

	.ft-page-features,
	.ft-page-contact__grid {
		grid-template-columns: 1fr;
	}

	.ft-contact-form__row {
		grid-template-columns: 1fr;
	}

	.ft-page-module--reverse .ft-page-module__image {
		order: 0;
	}

	.ft-curriculum {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.ft-container {
		padding-inline: 1.25rem;
	}

	/* Header — compact */
	body.ft-modern #header [data-row="top"] {
		display: none !important;
	}

	body.ft-modern [data-header] .site-logo img,
	body.ft-modern [data-header] .site-branding img {
		max-height: 42px;
	}

	body.ft-modern #header [data-row="middle"]:has([data-id="menu"]) {
		display: none !important;
	}

	body.ft-modern [data-header] {
		--header-height: 52px;
	}

	body.ft-modern [data-header*="type-1"],
	body.ft-modern [data-header*="type-1"] .ct-header,
	body.ft-modern #header [data-row="middle"]:has([data-id="trigger"]) {
		--height: 52px !important;
		height: 52px !important;
		min-height: 52px;
		max-height: 52px;
		background: var(--ft-navy) !important;
		background-color: var(--ft-navy) !important;
		box-shadow: 0 8px 24px rgba(26, 31, 82, 0.18);
	}

	body.ft-modern #header [data-row="middle"]:has([data-id="trigger"]) > *,
	body.ft-modern #header [data-row="middle"]:has([data-id="trigger"]) .ct-container,
	body.ft-modern #header [data-row="middle"]:has([data-id="trigger"]) [data-column],
	body.ft-modern #header [data-row="middle"]:has([data-id="trigger"]) [data-items] {
		--height: 52px !important;
		height: 52px !important;
		min-height: 52px !important;
		max-height: 52px !important;
		background: var(--ft-navy) !important;
		background-color: var(--ft-navy) !important;
	}

	body.ft-modern #header .ct-header-trigger,
	body.ft-modern #header [data-id="trigger"] {
		width: 38px !important;
		height: 38px !important;
		min-width: 38px !important;
		min-height: 38px !important;
		border-radius: 999px !important;
		color: var(--ft-gold) !important;
		background: rgba(255, 255, 255, 0.08) !important;
		border: 1px solid rgba(255, 255, 255, 0.14) !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
	}

	body.ft-modern #header .ct-header-trigger .ct-icon,
	body.ft-modern #header [data-id="trigger"] .ct-icon {
		fill: currentColor !important;
		color: currentColor !important;
	}

	body.ft-modern #header .ct-header-trigger:hover,
	body.ft-modern #header [data-id="trigger"]:hover {
		color: var(--ft-navy) !important;
		background: var(--ft-gold) !important;
		border-color: var(--ft-gold) !important;
		box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.16);
	}

	body.ft-modern #header [data-row="middle"]:has([data-id="trigger"]) .site-logo img,
	body.ft-modern #header [data-row="middle"]:has([data-id="trigger"]) .site-branding img {
		filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.22));
	}

	body.ft-modern #main-container {
		padding-top: 0;
	}

	/* Hero */
	.ft-hero {
		min-height: clamp(460px, 88svh, 620px);
		border-radius: 0 0 26px 26px;
	}

	.ft-hero__content {
		min-height: clamp(460px, 88svh, 620px);
		padding-block: 4.5rem 6.5rem;
		text-align: center;
	}

	.ft-hero__inner {
		max-width: 100%;
	}

	.ft-hero__eyebrow {
		justify-content: center;
		font-size: 0.72rem;
		margin-bottom: 1rem;
	}

	.ft-hero__title {
		font-size: clamp(1.85rem, 8.5vw, 2.35rem);
		margin-bottom: 1rem;
		line-height: 1.12;
	}

	.ft-hero__desc {
		font-size: 1rem;
		margin-bottom: 1.5rem;
		max-width: 100%;
		margin-inline: auto;
	}

	.ft-hero__actions {
		justify-content: center;
		gap: 0.75rem;
	}

	.ft-hero__nav {
		left: 50%;
		right: auto;
		bottom: calc(3rem + 0.85rem);
		width: auto;
		max-width: calc(100vw - 2rem);
		padding: 0.45rem 0.65rem;
		justify-content: center;
		gap: 1rem;
		background: rgba(26, 31, 82, 0.46);
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 999px;
		backdrop-filter: blur(12px);
		box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
	}

	.ft-hero__dots {
		align-items: center;
		justify-content: center;
	}

	.ft-hero__arrow {
		width: 38px;
		height: 38px;
	}

	.ft-hero__scroll {
		display: none;
	}

	/* Stats */
	.ft-stats {
		margin-top: -2rem;
	}

	.ft-stats__item {
		padding: 1.35rem 1rem;
	}

	.ft-stats__number {
		font-size: clamp(1.65rem, 6vw, 2rem);
	}

	.ft-stats__label {
		font-size: 0.78rem;
		line-height: 1.4;
	}

	/* Sections */
	.ft-section {
		padding-block: 3rem;
	}

	.ft-section > .ft-container {
		text-align: center;
	}

	.ft-section__header {
		margin-bottom: 2rem;
	}

	.ft-section__title {
		font-size: clamp(1.65rem, 6vw, 2rem);
	}

	.ft-lead {
		font-size: 1rem;
	}

	.ft-about__image-accent {
		display: none;
	}

	.ft-about__feature {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 0.875rem 1rem;
	}

	.ft-program__body {
		padding: 1.35rem;
	}

	.ft-program__image {
		height: 200px;
	}

	.ft-virtual__card {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 1.35rem;
		gap: 1rem;
	}

	.ft-virtual__icon {
		width: 48px;
		height: 48px;
	}

	.ft-testimonial {
		padding: 1.5rem;
	}

	.ft-cta {
		padding: 2.5rem 1.25rem;
		border-radius: var(--ft-radius-md);
	}

	.ft-cta__actions {
		flex-direction: column;
		width: 100%;
	}

	.ft-cta__actions .ft-btn {
		width: 100%;
	}

	/* Inner pages */
	.ft-page-hero {
		min-height: 260px;
	}

	.ft-page-hero__content {
		padding-block: 2.25rem;
	}

	.ft-page-hero__title {
		font-size: clamp(1.75rem, 7vw, 2.15rem);
	}

	.ft-page-hero__desc {
		font-size: 1rem;
	}

	.ft-page-intro,
	.ft-page-module {
		gap: 2rem;
		text-align: center;
	}

	.ft-page-list {
		display: inline-block;
		text-align: left;
	}

	.ft-page-highlight,
	.ft-page-feature,
	.ft-page-contact__item {
		padding: 1.15rem 1.25rem;
	}

	.ft-contact-form {
		padding: 1.35rem;
		margin-top: 0.5rem;
	}

	.ft-contact-form__title {
		font-size: 1.3rem;
	}

	/* Footer */
	.ft-footer {
		padding-top: 2.5rem;
		text-align: center;
	}

	.ft-footer__grid {
		justify-items: center;
		gap: 2rem;
		padding-bottom: 2rem;
	}

	.ft-footer__brand,
	.ft-footer__col {
		max-width: 34rem;
		text-align: center;
	}

	.ft-footer__desc {
		margin-inline: auto;
	}

	.ft-footer__social,
	.ft-footer__platforms,
	.ft-footer__legal {
		justify-content: center;
	}

	.ft-footer__contact li {
		justify-content: center;
		text-align: center;
	}

	.ft-footer__bottom {
		justify-content: center;
		text-align: center;
		padding-block: 1.25rem;
	}

	/* Blocksy cookie banner */
	body.ft-modern:has(#offcanvas.active) .cookie-notification {
		display: none !important;
	}

	body.ft-modern .cookie-notification {
		max-width: calc(100vw - 2rem) !important;
		margin: 0 1rem 1rem !important;
		padding: 1rem 1.15rem !important;
		border-radius: var(--ft-radius-md) !important;
	}

	body.ft-modern .cookie-notification .ct-container {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 0.85rem !important;
	}

	body.ft-modern .cookie-notification .ct-cookies-content {
		font-size: 0.85rem !important;
		line-height: 1.5 !important;
	}

	body.ft-modern .cookie-notification .ct-button-group {
		display: flex !important;
		flex-direction: column !important;
		gap: 0.5rem !important;
		width: 100%;
	}

	body.ft-modern .cookie-notification .ct-button {
		width: 100% !important;
		justify-content: center !important;
	}

	.ft-stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ft-stats__item:nth-child(2) {
		border-right: none;
	}

	.ft-stats__item {
		border-bottom: 1px solid var(--ft-border);
	}

	.ft-stats__item:nth-child(3),
	.ft-stats__item:nth-child(4) {
		border-bottom: none;
	}

	.ft-programs {
		grid-template-columns: 1fr;
	}

	.ft-virtual {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.ft-container {
		padding-inline: 1rem;
	}

	body.ft-modern #offcanvas {
		--side-panel-width: min(100vw, 100%);
	}

	.ft-mobile-menu-logo {
		padding: 1.1rem 1.25rem 1.35rem;
	}

	.ft-mobile-menu-logo img {
		max-height: 76px;
		margin-inline: auto;
	}

	.ft-mobile-menu-logo__label {
		margin-inline: auto;
	}

	body.ft-modern #offcanvas [data-device="mobile"] .ct-social-box {
		padding-inline: 0 !important;
		justify-content: center !important;
	}

	body.ft-modern #offcanvas [data-device="mobile"] .ct-menu-link {
		padding: 0.875rem 1.25rem !important;
	}

	body.ft-modern #offcanvas [data-device="mobile"] .sub-menu .ct-menu-link {
		padding-inline: 1.25rem !important;
	}

	.ft-stats__grid {
		grid-template-columns: 1fr;
	}

	.ft-stats__item {
		border-right: none !important;
		border-bottom: 1px solid var(--ft-border) !important;
	}

	.ft-stats__item:last-child {
		border-bottom: none !important;
	}

	.ft-hero__actions {
		flex-direction: column;
	}

	.ft-hero__actions .ft-btn {
		width: 100%;
	}

	.ft-hero__nav {
		width: auto;
		max-width: calc(100% - 2rem);
		gap: 0.75rem;
	}

	.ft-footer__grid {
		grid-template-columns: 1fr;
	}

	.ft-footer__bottom {
		flex-direction: column;
		text-align: center;
	}

	.ft-footer__legal {
		flex-direction: column;
		gap: 0.75rem;
	}

	.ft-curriculum {
		grid-template-columns: 1fr;
	}

	.ft-virtual__card {
		flex-direction: column;
	}

	.ft-page-contact__grid {
		grid-template-columns: 1fr;
	}

	.ft-section--programs {
		padding-block: 3rem;
	}
}

/* ==========================================================================
   WhatsApp Floating Widget
   ========================================================================== */

.ft-whatsapp-widget {
	position: fixed;
	bottom: 1.75rem;
	right: 1.75rem;
	z-index: 9990;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.65rem;
	pointer-events: none;
}

.ft-whatsapp-widget * {
	pointer-events: auto;
}

/* Bubble / tooltip */
.ft-whatsapp-bubble {
	background: #fff;
	border-radius: 14px 14px 4px 14px;
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.13), 0 1px 4px rgba(0, 0, 0, 0.07);
	padding: 0.75rem 1rem;
	max-width: 230px;
	font-family: var(--ft-font-body);
	font-size: 0.82rem;
	line-height: 1.45;
	color: #2d3748;
	position: relative;
	opacity: 0;
	transform: translateY(8px) scale(0.96);
	transition: opacity 0.28s ease, transform 0.28s ease;
	cursor: default;
}

.ft-whatsapp-bubble::after {
	content: '';
	position: absolute;
	bottom: -8px;
	right: 20px;
	border: 8px solid transparent;
	border-top-color: #fff;
	border-bottom: 0;
}

.ft-whatsapp-bubble strong {
	display: block;
	font-weight: 600;
	color: #1a202c;
	margin-bottom: 0.15rem;
}

.ft-whatsapp-bubble .ft-whatsapp-bubble__close {
	position: absolute;
	top: 6px;
	right: 8px;
	background: none;
	border: none;
	cursor: pointer;
	color: #a0aec0;
	font-size: 1rem;
	line-height: 1;
	padding: 0 2px;
	transition: color 0.2s;
}

.ft-whatsapp-bubble .ft-whatsapp-bubble__close:hover {
	color: #718096;
}

.ft-whatsapp-bubble.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

/* Main button */
.ft-whatsapp-btn {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.12);
	text-decoration: none;
	color: #fff;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s;
	flex-shrink: 0;
	position: relative;
}

.ft-whatsapp-btn:hover {
	background: #1ebe5d;
	transform: scale(1.08);
	box-shadow: 0 10px 32px rgba(37, 211, 102, 0.52), 0 3px 8px rgba(0, 0, 0, 0.14);
	color: #fff;
}

.ft-whatsapp-btn svg {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
}

/* Pulse ring */
.ft-whatsapp-btn::before {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 3px solid rgba(37, 211, 102, 0.5);
	animation: ft-wa-pulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes ft-wa-pulse {
	0%   { transform: scale(1);   opacity: 0.7; }
	60%  { transform: scale(1.3); opacity: 0; }
	100% { transform: scale(1.3); opacity: 0; }
}

/* Badge — notificación */
.ft-whatsapp-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e53e3e;
	border: 2px solid #fff;
	font-size: 0.6rem;
	font-weight: 700;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--ft-font-body);
}

/* Mobile tweaks */
@media (max-width: 480px) {
	.ft-whatsapp-widget {
		bottom: 1.1rem;
		right: 1.1rem;
	}

	.ft-whatsapp-btn {
		width: 52px;
		height: 52px;
	}

	.ft-whatsapp-btn svg {
		width: 26px;
		height: 26px;
	}

	.ft-whatsapp-bubble {
		max-width: 190px;
		font-size: 0.78rem;
	}
}

/* ==========================================================================
   Back to top
   ========================================================================== */

.ft-to-top {
	position: fixed;
	right: calc(1.75rem + 58px + 0.75rem);
	bottom: calc(1.75rem + 6px);
	z-index: 9989;
	width: 46px;
	height: 46px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--ft-navy);
	color: var(--ft-white);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--ft-shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity var(--ft-transition), transform var(--ft-transition), visibility var(--ft-transition), background var(--ft-transition), color var(--ft-transition);
}

.ft-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
}

.ft-to-top:hover,
.ft-to-top:focus-visible {
	background: var(--ft-gold);
	color: var(--ft-navy);
	outline: none;
}

@media (max-width: 480px) {
	.ft-to-top {
		right: calc(1.1rem + 52px + 0.65rem);
		bottom: calc(1.1rem + 5px);
		width: 42px;
		height: 42px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ft-to-top {
		transition: none;
	}
}

/* ==========================================================================
   SEO: breadcrumbs, study paths, FAQ
   ========================================================================== */

.ft-breadcrumbs {
	margin-bottom: 0.9rem;
}

.ft-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--ft-font-body);
	font-size: 0.82rem;
	letter-spacing: 0.01em;
}

.ft-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	color: rgba(255, 255, 255, 0.78);
}

.ft-breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 0.45rem;
	opacity: 0.55;
}

.ft-breadcrumbs a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
}

.ft-breadcrumbs a:hover,
.ft-breadcrumbs a:focus-visible {
	color: var(--ft-gold-light);
}

.ft-section--paths {
	background: var(--ft-white);
}

.ft-paths {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.ft-path {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1.75rem 1.5rem;
	background: var(--ft-cream);
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius-md);
}

.ft-path h3 {
	margin: 0;
	font-size: 1.85rem;
}

.ft-path p {
	margin: 0;
	color: var(--ft-text-muted);
	line-height: 1.6;
}

.ft-path__link {
	margin-top: auto;
	color: var(--ft-red);
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
}

.ft-path__link:hover,
.ft-path__link:focus-visible {
	color: var(--ft-navy);
}

.ft-section--faq {
	background: var(--ft-white);
}

.ft-faq {
	max-width: 820px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.ft-faq__item {
	background: var(--ft-cream);
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius-md);
	padding: 0 1.25rem;
}

.ft-faq__item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	cursor: pointer;
	padding: 1.05rem 0;
	font-family: var(--ft-font-body);
	font-weight: 600;
	font-size: 1.02rem;
	color: var(--ft-navy);
	list-style: none;
}

.ft-faq__item summary::-webkit-details-marker {
	display: none;
}

.ft-faq__item summary::after {
	content: "+";
	flex-shrink: 0;
	font-family: var(--ft-font-display);
	font-size: 1.6rem;
	line-height: 1;
	color: var(--ft-gold);
}

.ft-faq__item[open] summary::after {
	content: "\2013";
}

.ft-faq__item p {
	margin: 0 0 1.15rem;
	color: var(--ft-text-muted);
	line-height: 1.65;
}

@media (max-width: 900px) {
	.ft-paths {
		grid-template-columns: 1fr;
	}
}
