/* =====================================================
   01 VARIABLES
===================================================== */
:root {
	--primary: #157f3c;
	--primary-dark: #0d5e2b;
	--primary-light: #2aa45d;
	--primary-soft: rgba(21, 127, 60, 0.14);
	--primary-border: rgba(21, 127, 60, 0.32);
	--background: #f8f9fa;
	--surface: #ffffff;
	--surface-dark: #0a0a0a;
	--surface-dark-2: #111111;
	--surface-dark-3: #1a1a1a;
	--surface-dark-4: #222222;
	--surface-dark-5: #151515;
	--ticker-bg: #050505;
	--footer-bg: #0f0f0f;
	--text: #2c3e50;
	--text-dark: #1a1a1a;
	--text-muted: #555555;
	--text-soft: #666666;
	--text-hero: #ecececff;
	--text-ticker: #cccccc;
	--text-inverse-muted: #aaaaaa;
	--text-light: #dddddd;
	--text-light-muted: #999999;
	--white: #ffffff;
	--border: #e0e0e0;
	--black: #000000;
	--radius-xs: 4px;
	--radius-sm: 6px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-xl: 16px;
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.1);
	--shadow-xl: 0 12px 28px rgba(21, 127, 60, 0.16);
	--shadow-dark: 0 8px 24px rgba(0, 0, 0, 0.3);
	--transition-fast: 0.2s ease;
	--transition-base: 0.3s ease;
	--transition-slow: 0.5s ease;
	--navbar-height: 100px;
	--mbb-icon-size: 30px;
	--mbb-label-size: 13px;
	--mbb-bar-height: 72px;
}

/* =====================================================
   02 RESET
===================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--background);
	color: var(--text);
	font-family: "Inter", sans-serif;
	padding-top: var(--navbar-height);
	overflow-x: hidden;
}

.custom-navbar a,
.dropdown-item,
.featured-link,
.quick-card,
.doc-link,
.footer-link,
.social-item,
.mbb-item,
.mbb-panel-item {
	transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-base), transform var(--transition-base);
}

img {
	max-width: 100%;
}

section {
	position: relative;
}

section::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(to right, transparent, var(--primary-soft), transparent);
}

.py-5 {
	padding-top: 80px !important;
	padding-bottom: 80px !important;
}

/* =====================================================
   03 TIPOGRAFIA
===================================================== */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.navbar-brand {
	font-family: "Oswald", sans-serif;
	letter-spacing: 0.5px;
	color: var(--text-dark);
}

p {
	color: var(--text-muted);
	line-height: 1.6;
}

.section-tag {
	display: inline-block;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0.5rem;
	color: var(--primary);
}

.section-title {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	color: var(--black);
}

/* =====================================================
   04 BOTONES
===================================================== */
.btn {
	border: none;
	border-radius: var(--radius-md);
	font-weight: 700;
	transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-xl);
}

.btn-danger,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.show > .btn-danger.dropdown-toggle {
	--bs-btn-color: var(--white);
	--bs-btn-bg: var(--primary);
	--bs-btn-border-color: var(--primary);
	--bs-btn-hover-color: var(--white);
	--bs-btn-hover-bg: var(--primary-dark);
	--bs-btn-hover-border-color: var(--primary-dark);
	--bs-btn-focus-shadow-rgb: 21, 127, 60;
	--bs-btn-active-color: var(--white);
	--bs-btn-active-bg: var(--primary-dark);
	--bs-btn-active-border-color: var(--primary-dark);
	--bs-btn-disabled-color: var(--white);
	--bs-btn-disabled-bg: var(--primary);
	--bs-btn-disabled-border-color: var(--primary);
	background: var(--primary);
	border-color: var(--primary);
	color: var(--white);
}

.btn-danger:hover {
	background: var(--primary-dark);
	border-color: var(--primary-dark);
}

.btn-outline-danger {
	--bs-btn-color: var(--primary);
	--bs-btn-border-color: var(--primary);
	--bs-btn-hover-color: var(--white);
	--bs-btn-hover-bg: var(--primary);
	--bs-btn-hover-border-color: var(--primary);
	--bs-btn-focus-shadow-rgb: 21, 127, 60;
	--bs-btn-active-color: var(--white);
	--bs-btn-active-bg: var(--primary);
	--bs-btn-active-border-color: var(--primary);
	--bs-btn-disabled-color: var(--primary);
	--bs-btn-disabled-bg: transparent;
	--bs-btn-disabled-border-color: var(--primary);
	color: var(--primary);
	border: 2px solid var(--primary);
	background: transparent;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active,
.btn-outline-danger.active,
.show > .btn-outline-danger.dropdown-toggle {
	background: var(--primary);
	border-color: var(--primary);
	color: var(--white);
}

.btn-outline-light {
	color: var(--white);
	border: 2px solid var(--white);
	background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--primary-light);
	color: var(--primary-light);
}

.text-danger {
	color: var(--primary) !important;
}

.bg-danger,
.badge-danger {
	background-color: var(--primary) !important;
	color: var(--white) !important;
}

.border-danger {
	border-color: var(--primary) !important;
}

.alert-danger {
	color: var(--primary-dark);
	background-color: rgba(21, 127, 60, 0.1);
	border-color: var(--primary-border);
}

.page-link {
	color: var(--primary);
}

.page-link:hover,
.page-link:focus {
	color: var(--primary-dark);
	background-color: var(--primary-soft);
	border-color: var(--primary-border);
	box-shadow: 0 0 0 0.25rem rgba(21, 127, 60, 0.15);
}

.page-item.active .page-link {
	background-color: var(--primary);
	border-color: var(--primary);
	color: var(--white);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
	border-color: var(--primary-light);
	box-shadow: 0 0 0 0.25rem rgba(21, 127, 60, 0.16);
}

.form-check-input:checked {
	background-color: var(--primary);
	border-color: var(--primary);
}

/* =====================================================
   05 NAVBAR
===================================================== */
.custom-navbar {
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--primary-border);
	padding: 14px 0;
	min-height: 90px;
	display: flex;
	align-items: center;
	z-index: 9999;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.custom-navbar .navbar-brand {
	color: var(--white);
	font-weight: 800;
	letter-spacing: 1px;
	font-size: 1.3rem;
}

.custom-navbar .navbar-nav .nav-link {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 500;
	margin-left: 12px;
	transition: color var(--transition-base), background-color var(--transition-base);
	font-size: 0.95rem;
}

.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link:focus,
.custom-navbar .navbar-nav .nav-link.active {
	color: var(--primary-light);
}

.dropdown-menu {
	background: var(--surface-dark-3);
	border: 1px solid var(--primary-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-dark);
}

.dropdown-item {
	color: var(--white);
	padding: 12px 18px;
	transition: color var(--transition-fast), background-color var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
	background: var(--primary-soft);
	color: var(--primary-light);
}

/* =====================================================
   06 HERO
===================================================== */
.hero-modern {
	position: relative;
	min-height: 75vh;
	background: url("images/slide-1.jpg") center center / cover no-repeat;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: transparent;
	backdrop-filter: none;
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero-badge {
	display: inline-block;
	background: var(--primary);
	color: var(--white);
	padding: 10px 20px;
	border-radius: var(--radius-sm);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.2px;
	margin-bottom: 25px;
	text-transform: uppercase;
}

.hero-title {
	font-size: clamp(3rem, 7vw, 5.5rem);
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 25px;
	max-width: 850px;
	text-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
	color: var(--white);
}

.hero-text {
	font-size: 1.15rem;
	color: var(--text-hero);
	max-width: 700px;
	line-height: 1.7;
	margin-bottom: 35px;
	font-weight: 700;
}

.hero-buttons {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.hero-buttons .btn {
	padding: 14px 32px;
	font-size: 0.95rem;
}

/* =====================================================
   07 TICKER
===================================================== */
.top-ticker {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--ticker-bg);
	border-top: 1px solid var(--primary-border);
	border-bottom: 2px solid var(--primary);
	overflow: hidden;
	z-index: 20;
}

.ticker-label {
	background: var(--primary);
	color: var(--white);
	font-weight: 700;
	padding: 14px 25px;
	white-space: nowrap;
	z-index: 2;
	font-size: 0.85rem;
	letter-spacing: 0.5px;
}

.ticker-wrap {
	overflow: hidden;
	width: 100%;
}

.ticker-content {
	display: flex;
	gap: 30px;
	white-space: nowrap;
	animation: tickerMove 28s linear infinite;
	padding-left: 30px;
	color: var(--text-ticker);
	font-weight: 500;
	font-size: 0.9rem;
}

.campaign-ticker-track {
	align-items: center;
	gap: 16px;
	padding: 8px 0 8px 24px;
	animation-duration: 42s;
}

.campaign-ticker-track:hover {
	animation-play-state: paused;
}

.campaign-ticker-item {
	display: block;
	width: 86px;
	height: 80px;
	flex: 0 0 auto;
	border: 1px solid var(--primary-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--surface-dark-3);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
	opacity: 0.9;
	transition: transform var(--transition-base), opacity var(--transition-base), border-color var(--transition-base);
}

.campaign-ticker-item:hover {
	transform: translateY(-2px);
	opacity: 1;
	border-color: var(--primary-light);
}

.campaign-ticker-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@keyframes tickerMove {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

/* =====================================================
   08 NEWSFEED
===================================================== */
.news-modern {
	padding: 3rem 0;
}

.featured-news {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
}

.featured-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

#mainImage {
	width: 100%;
	height: 400px;
	object-fit: cover;
	transition: transform var(--transition-base);
	display: block;
}

.featured-link:hover #mainImage {
	transform: scale(1.05);
}

.featured-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
	opacity: 0;
	transition: opacity var(--transition-base);
}

.featured-link:hover .featured-overlay {
	opacity: 1;
}

.featured-content {
	padding: 1.5rem;
	background: var(--surface-dark);
}

.news-category {
	display: inline-block;
	background: var(--primary);
	color: var(--white);
	padding: 0.4rem 0.8rem;
	border-radius: var(--radius-xs);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 0.8rem;
}

.news-date {
	font-size: 0.85rem;
	color: var(--primary-light);
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 0.8rem;
}

.featured-content h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--white);
	margin: 0 0 1rem;
	line-height: 1.3;
}

.featured-content p {
	font-size: 0.95rem;
	color: var(--text-inverse-muted);
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

.side-news-wrapper {
	position: relative;
	height: 550px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
}

.side-news-container {
	flex: 1;
	overflow: hidden;
	border-radius: var(--radius-md);
	position: relative;
}

.side-news {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	transition: transform 0.4s ease;
}

.side-item {
	display: flex;
	gap: 20px;
	padding: 18px;
	background: var(--surface-dark-3);
	border: 1px solid transparent;
	border-radius: 20px;
	cursor: pointer;
	transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
	text-decoration: none;
	color: inherit;
	flex-shrink: 0;
	align-items: center;
}

.side-item:hover {
	transform: translateY(-4px);
	background: var(--surface-dark-4);
}

.side-item.active {
	border-color: var(--primary);
	background: var(--surface-dark-5);
	box-shadow: 0 0 12px rgba(21, 127, 60, 0.28);
}

.side-image {
	width: 140px;
	height: 100px;
	flex-shrink: 0;
	border-radius: 15px;
	overflow: hidden;
	background: var(--surface-dark-3);
}

.side-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.side-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: var(--white);
	font-weight: 700;
	font-size: 24px;
}

.side-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.side-category {
	font-size: 0.7rem;
	color: var(--primary-light);
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 0.3rem;
	display: block;
}

.side-item h5 {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--white);
	margin: 0;
	line-height: 1.3;
}

.side-arrow {
	background: rgba(21, 127, 60, 0.82);
	color: var(--white);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	transition: transform var(--transition-base), background-color var(--transition-base), opacity var(--transition-fast);
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.side-arrow:hover {
	background: var(--primary);
	transform: scale(1.1);
}

.side-arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.renglon-section {
	margin-bottom: 3.5rem;
}

.renglon-titulo {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 10px;
}

.renglon-titulo-emoji {
	font-size: 2rem;
}

.scroll-horizontal {
	position: relative;
	overflow: hidden;
	background: var(--surface);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

.scroll-track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	padding: 20px;
	scroll-behavior: smooth;
	scrollbar-width: none;
	cursor: grab;
}

.scroll-track:active {
	cursor: grabbing;
}

.scroll-track::-webkit-scrollbar {
	display: none;
}

.scroll-item {
	flex: 0 0 280px;
	height: 250px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
	border: 1px solid var(--border);
	transition: transform var(--transition-base), box-shadow var(--transition-base);
	position: relative;
	background: var(--surface);
}

.scroll-item img,
.scroll-item-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.scroll-item-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3.5rem;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: var(--white);
	font-weight: 700;
}

.scroll-item:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
}

.scroll-item:hover img {
	transform: scale(1.05);
}

.scroll-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(21, 127, 60, 0.78);
	color: var(--white);
	border: none;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: transform var(--transition-base), background-color var(--transition-base);
	font-weight: 700;
	font-size: 18px;
}

.scroll-btn:hover {
	background: var(--primary-dark);
	transform: translateY(-50%) scale(1.1);
}

.scroll-btn-left {
	left: 12px;
}

.scroll-btn-right {
	right: 12px;
}

/* =====================================================
   09 QUICK LINKS
===================================================== */
.quick-links {
	background: var(--background);
}

.quick-card {
	display: block;
	background: var(--surface);
	padding: 40px 30px;
	border-radius: var(--radius-lg);
	text-decoration: none;
	color: var(--text);
	height: 100%;
	transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
	border: 1px solid var(--border);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.quick-card:hover {
	transform: translateY(-8px);
	background: var(--surface);
	color: var(--text-dark);
	border-color: var(--primary);
	box-shadow: var(--shadow-xl);
}

.quick-icon i,
.doc-icon i {
	font-size: 3rem;
	color: var(--primary);
	margin-bottom: 16px;
}

.quick-card h4 {
	font-weight: 800;
	margin-bottom: 12px;
	color: var(--text-dark);
}

.quick-card p {
	color: var(--text-soft);
	line-height: 1.6;
	font-size: 0.95rem;
}

/* =====================================================
   10 CAMPAÑAS
===================================================== */
.campaigns-section {
	background: var(--background);
}

.campaign-card {
	overflow: hidden;
	border-radius: var(--radius-lg);
	position: relative;
	transition: transform var(--transition-base), box-shadow var(--transition-base);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--border);
}

.campaign-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
}

.campaign-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
}

.campaign-card:hover img {
	transform: scale(1.05);
}

/* =====================================================
   11 GALERÍA
===================================================== */
.gallery-section {
	background: var(--background);
	margin-bottom: 4rem;
}

.gallery-section h3 {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-top: 3rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--primary);
}

.gallery-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-auto-rows: 250px;
	gap: 20px;
	margin-top: 2rem;
}

.gallery-item,
.gallery-item-simple {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--border);
	transition: transform var(--transition-base), box-shadow var(--transition-base);
	cursor: pointer;
	background: var(--surface);
}

.gallery-item {
	height: 250px;
}

.gallery-item.big {
	grid-row: span 2;
	height: auto;
}

.gallery-item-simple {
	aspect-ratio: 1;
}

.gallery-item img,
.gallery-item-simple img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
	display: block;
}

.gallery-item:hover,
.gallery-item-simple:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
}

.gallery-item:hover img,
.gallery-item-simple:hover img {
	transform: scale(1.05);
}

.lightbox,
.lightbox-index {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	padding: 40px;
}

.lightbox.active,
.lightbox-index.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-content,
.lightbox-content-index {
	position: relative;
	max-width: 90%;
	max-height: 90vh;
}

.lightbox-img,
.lightbox-img-index {
	max-width: 100%;
	max-height: 80vh;
	object-fit: contain;
	border-radius: var(--radius-lg);
}

.lightbox-close,
.lightbox-close-index {
	position: absolute;
	top: -40px;
	right: 0;
	color: var(--white);
	font-size: 36px;
	cursor: pointer;
	transition: color var(--transition-base);
	font-weight: 700;
}

.lightbox-close:hover,
.lightbox-close-index:hover {
	color: var(--primary-light);
}

.lightbox-nav,
.lightbox-nav-index {
	position: absolute;
	top: 50%;
	color: var(--white);
	font-size: 28px;
	cursor: pointer;
	background: rgba(21, 127, 60, 0.78);
	padding: 10px 15px;
	border-radius: var(--radius-sm);
	transition: background-color var(--transition-base);
	user-select: none;
	font-weight: 700;
}

.lightbox-nav:hover,
.lightbox-nav-index:hover {
	background: var(--primary-dark);
}

.lightbox-prev,
.lightbox-prev-index {
	left: 20px;
}

.lightbox-next,
.lightbox-next-index {
	right: 20px;
}

/* =====================================================
   12 DOCUMENTOS
===================================================== */
.documents-section {
	background: var(--background);
}

.doc-card {
	background: var(--surface);
	padding: 35px;
	border-radius: var(--radius-lg);
	height: 100%;
	transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
	border: 1px solid var(--border);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.doc-card:hover {
	transform: translateY(-8px);
	border-color: var(--primary);
	background: var(--surface);
	box-shadow: var(--shadow-xl);
}

.doc-card h5 {
	font-weight: 800;
	margin-bottom: 15px;
	color: var(--text-dark);
}

.doc-card p {
	color: var(--text-soft);
	line-height: 1.6;
	margin-bottom: 20px;
	font-size: 0.95rem;
}

.doc-link {
	color: var(--primary);
	text-decoration: none;
	font-weight: 700;
	transition: color var(--transition-fast);
}

.doc-link:hover {
	color: var(--primary-dark);
	text-decoration: underline;
}

/* =====================================================
   13 FAQ
===================================================== */
.faq-section {
	background: var(--background);
}

.faq-accordion {
	max-width: 900px;
	margin: auto;
}

.faq-accordion .accordion-item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
	margin-bottom: 12px;
	box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
	background: var(--surface);
	color: var(--text-dark);
	font-weight: 700;
	padding: 20px;
	border-bottom: 1px solid var(--border);
}

.faq-accordion .accordion-button:not(.collapsed) {
	background: var(--background);
	color: var(--primary);
	box-shadow: none;
	border-color: var(--primary);
}

.faq-accordion .accordion-button:focus {
	box-shadow: 0 0 0 0.25rem rgba(21, 127, 60, 0.15);
	border-color: var(--primary);
}

.faq-accordion .accordion-body {
	background: var(--surface);
	color: var(--text-muted);
	line-height: 1.7;
	padding: 20px;
	font-size: 0.95rem;
}

/* =====================================================
   14 AFILIACIÓN
===================================================== */
.affiliate-section {
	background: var(--background);
}

.affiliate-box {
	background: var(--surface);
	border-radius: var(--radius-lg);
	padding: 50px;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-lg);
}

.affiliate-img {
	border-radius: var(--radius-lg);
}

.affiliate-text {
	color: var(--text-muted);
	line-height: 1.8;
	margin-bottom: 20px;
	font-size: 0.95rem;
}

/* =====================================================
   15 FOOTER
===================================================== */
.footer {
	background: var(--footer-bg);
	padding: 60px 0 20px;
	border-top: 2px solid var(--primary);
	color: var(--text-light);
}

.footer-link {
	color: var(--text-light);
	text-decoration: none;
	font-weight: 700;
	transition: color var(--transition-base);
	font-size: 0.9rem;
}

.footer-link:hover {
	color: var(--primary-light);
}

.footer p {
	color: var(--text-light-muted);
	font-size: 0.85rem;
}

.community-section {
	background: var(--background);
}

.community-text {
	color: var(--text-muted);
	max-width: 700px;
	margin: 20px auto 0;
	line-height: 1.8;
	font-size: 0.95rem;
}

.community-box {
	background: var(--surface);
	border-radius: var(--radius-lg);
	padding: 40px;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-lg);
}

.social-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	z-index: 999;
}

.social-item {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-md);
	background: var(--surface);
	color: var(--primary);
	text-decoration: none;
	font-size: 1.3rem;
	transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base), color var(--transition-base);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	border: 2px solid var(--primary);
}

.social-item:hover {
	background: var(--primary);
	color: var(--white);
	transform: translateY(-4px);
	box-shadow: var(--shadow-xl);
}

/* =====================================================
   16 MOBILE
===================================================== */
.mobile-bottom-bar,
.mbb-panel,
.mbb-overlay {
	display: none;
}

@media (max-width: 991px) {
	.custom-navbar {
		z-index: 11000;
	}

	.custom-navbar .navbar-collapse {
		background: rgba(10, 10, 10, 0.98);
		border-top: 1px solid var(--primary-border);
		margin-top: 10px;
		padding: 12px 8px 20px;
		border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	}

	.custom-navbar .navbar-nav .nav-link {
		font-size: 1.1rem;
		padding: 12px 16px;
		margin-left: 0;
		border-radius: var(--radius-md);
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	}

	.custom-navbar .navbar-nav .nav-link:last-child {
		border-bottom: none;
	}

	.custom-navbar .navbar-nav .nav-link:hover,
	.custom-navbar .navbar-nav .nav-link:active {
		background: var(--primary-soft);
	}

	.custom-navbar .dropdown-menu {
		background: var(--surface-dark-2);
		border: none;
		padding-left: 12px;
		box-shadow: none;
	}

	.custom-navbar .dropdown-item {
		font-size: 1rem;
		padding: 10px 16px;
		color: rgba(255, 255, 255, 0.8);
		border-radius: var(--radius-sm);
	}

	.custom-navbar .dropdown-item:hover {
		background: var(--primary-soft);
		color: var(--white);
	}

	.custom-navbar .nav-item.ms-lg-3 {
		margin-top: 16px !important;
	}

	.custom-navbar .nav-item.ms-lg-3 .btn {
		display: block;
		width: 100%;
		text-align: center;
		font-size: 1.1rem;
		padding: 14px;
	}

	.navbar-toggler {
		padding: 8px 12px;
		font-size: 1.2rem;
	}

	.navbar-toggler-icon {
		width: 1.8em;
		height: 1.8em;
	}

	body {
		padding-bottom: calc(var(--mbb-bar-height) + 8px);
	}

	.mobile-bottom-bar {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		height: var(--mbb-bar-height);
		background: rgba(10, 10, 10, 0.97);
		border-top: 1px solid var(--primary-border);
		z-index: 10000;
		justify-content: space-around;
		align-items: center;
		padding: 0 4px;
		backdrop-filter: blur(10px);
	}

	.mbb-item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		flex: 1;
		height: 100%;
		color: rgba(255, 255, 255, 0.55);
		text-decoration: none;
		background: none;
		border: none;
		cursor: pointer;
		padding: 0;
		transition: color var(--transition-fast);
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
		user-select: none;
	}

	.mbb-item i {
		font-size: var(--mbb-icon-size);
		line-height: 1;
	}

	.mbb-item span {
		font-size: var(--mbb-label-size);
		font-family: inherit;
		line-height: 1;
	}

	.mbb-item:hover,
	.mbb-item:active,
	.mbb-item.active {
		color: var(--primary-light);
	}

	.mbb-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.6);
		z-index: 10001;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s ease;
	}

	.mbb-overlay.open {
		opacity: 1;
		pointer-events: all;
	}

	.mbb-panel {
		display: block;
		position: fixed;
		bottom: var(--mbb-bar-height);
		left: 0;
		right: 0;
		background: var(--surface-dark-2);
		border-top: 1px solid var(--primary-border);
		border-radius: var(--radius-xl) var(--radius-xl) 0 0;
		z-index: 10002;
		transform: translateY(100%);
		visibility: hidden;
		transition: transform var(--transition-base), visibility var(--transition-base);
		padding-bottom: 8px;
	}

	.mbb-panel.open {
		transform: translateY(0);
		visibility: visible;
	}

	.mbb-panel-inner {
		padding: 0 8px;
	}

	.mbb-panel-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 14px 12px 10px;
		color: rgba(255, 255, 255, 0.5);
		font-size: 13px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.08em;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
		margin-bottom: 6px;
	}

	.mbb-close {
		background: none;
		border: none;
		color: rgba(255, 255, 255, 0.5);
		font-size: 18px;
		cursor: pointer;
		padding: 4px;
		line-height: 1;
	}

	.mbb-panel-item {
		display: flex;
		align-items: center;
		gap: 14px;
		padding: 14px 16px;
		color: rgba(255, 255, 255, 0.85);
		text-decoration: none;
		font-size: 1rem;
		border-radius: 10px;
		transition: background-color var(--transition-fast), color var(--transition-fast);
	}

	.mbb-panel-item i {
		font-size: 20px;
		color: var(--primary-light);
		width: 24px;
		text-align: center;
	}

	.mbb-panel-item:hover,
	.mbb-panel-item:active {
		background: var(--primary-soft);
		color: var(--white);
	}

	.mbb-panel-afiliarse {
		margin: 8px 0 4px;
		background: var(--primary-soft);
		color: var(--primary-light);
		font-weight: 600;
		border: 1px solid var(--primary-border);
	}

	.mbb-panel-afiliarse i {
		color: var(--primary-light);
	}

	.mbb-panel-afiliarse:hover {
		background: rgba(21, 127, 60, 0.28);
		color: var(--white);
	}
}

@media (max-width: 768px) {
	body {
		padding-top: 110px;
	}

	.py-5 {
		padding-top: 50px !important;
		padding-bottom: 50px !important;
	}

	section::after {
		display: none;
	}

	.hero-modern {
		min-height: 60vh;
	}

	.hero-title {
		font-size: 2.3rem;
	}

	.hero-text {
		font-size: 1rem;
	}

	.hero-buttons {
		gap: 12px;
	}

	.hero-buttons .btn {
		width: 100%;
	}

	.section-title {
		font-size: 1.8rem;
		color: var(--text-dark);
	}

	.section-tag {
		color: var(--text-dark);
	}

	.top-ticker {
		min-height: 60px;
		align-items: center;
	}

	.ticker-label {
		padding: 10px 16px;
		font-size: 11px;
	}

	.ticker-content {
		font-size: 12px;
		gap: 18px;
	}

	.campaign-ticker-track {
		gap: 10px;
		padding: 7px 0 7px 14px;
		animation-duration: 34s;
	}

	.campaign-ticker-item {
		width: 72px;
		height: 46px;
	}

	.news-modern .row.g-4 > [class*="col-"] + [class*="col-"] {
		margin-top: 8px;
	}

	#mainImage {
		height: 220px;
	}

	.featured-content {
		padding: 20px;
	}

	.featured-content h3 {
		font-size: 1.5rem;
		line-height: 1.2;
	}

	.featured-content p {
		font-size: 1rem;
		line-height: 1.7;
	}

	.side-news-wrapper,
	.side-news-container {
		height: auto;
	}

	.side-news-wrapper {
		gap: 10px;
	}

	.side-news-container {
		overflow: visible;
	}

	.side-news {
		gap: 12px;
	}

	.side-item {
		flex-direction: row;
		padding: 15px;
		border-radius: var(--radius-lg);
		min-height: 100px;
	}

	.side-image {
		width: 100px;
		height: 75px;
	}

	.side-item h5 {
		font-size: 1rem;
		line-height: 1.35;
	}

	.side-arrow {
		width: 48px;
		height: 48px;
		font-size: 20px;
		margin: 0 auto;
	}

	.scroll-track {
		gap: 12px;
		padding: 14px;
	}

	.scroll-item {
		flex-basis: 220px;
		height: 190px;
	}

	.scroll-btn {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.quick-card {
		padding: 25px;
	}

	.quick-card h4 {
		font-size: 1.3rem;
	}

	.quick-card p {
		font-size: 1rem;
		line-height: 1.7;
	}

	.quick-icon i {
		font-size: 2.5rem;
	}

	.gallery-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 200px;
		gap: 12px;
	}

	.gallery-item {
		height: 180px;
	}

	.gallery-item.big {
		grid-row: auto;
		height: 200px;
	}

	.gallery-item-simple:nth-child(n+5) {
		display: none;
	}

	.lightbox,
	.lightbox-index {
		padding: 20px;
	}

	.lightbox-nav,
	.lightbox-nav-index {
		font-size: 20px;
		padding: 8px 12px;
	}

	.lightbox-close,
	.lightbox-close-index {
		top: 10px;
		right: 10px;
	}

	.affiliate-box {
		padding: 25px;
	}

	.footer {
		padding-top: 40px;
	}

	.footer-link {
		display: block;
		font-size: 1rem;
		margin-bottom: 10px;
	}

	.social-float {
		bottom: calc(var(--mbb-bar-height) + 16px);
		right: 12px;
		gap: 8px;
	}

	.social-item {
		width: 44px;
		height: 44px;
		font-size: 1.1rem;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 2rem;
	}

	.section-title {
		font-size: 1.55rem;
	}

	.side-item {
		gap: 12px;
	}

	.side-image {
		width: 86px;
		height: 68px;
	}

	.scroll-item {
		flex-basis: 190px;
		height: 170px;
	}
}

/* =====================================================
   17 UTILIDADES
===================================================== */
.text-primary-site {
	color: var(--primary);
}

.bg-primary-site {
	background-color: var(--primary);
	color: var(--white);
}

.border-primary-site {
	border-color: var(--primary);
}

.shadow-site {
	box-shadow: var(--shadow-lg);
}

.rounded-site {
	border-radius: var(--radius-lg);
}
