@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700&display=swap');


:root {
	--bg: #050508;
	--bg-card: #0c0c12;
	--bg-elevated: #12121a;
	--blue: #00a8ff;
	--blue-bright: #33c1ff;
	--blue-dark: #0077cc;
	--blue-glow: rgba(0, 168, 255, 0.35);
	--red: #ef4444;
	--text: #f0f4f8;
	--text-muted: #94a3b8;
	--border: rgba(0, 168, 255, 0.18);
	--radius: 16px;
	--radius-sm: 10px;
	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
}

/* ========== HEADER ========== */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 0.85rem 1.75rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(5, 5, 8, 0.88);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--border);
	transition: var(--transition);
}

.header.scrolled {
	padding: 0.65rem 1.75rem;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--text);
}

.logo-img {
	height: 42px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
	display: block;
}

.logo-fallback {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.logo-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, var(--blue), var(--blue-dark));
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 1.2rem;
	box-shadow: 0 0 18px var(--blue-glow);
}

.logo-text {
	font-weight: 800;
	font-size: 1.3rem;
	letter-spacing: -0.02em;
}

.logo-text span {
	color: var(--blue);
}

/* Live / Next Stream Button + Countdown */
.header-right {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.live-btn {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: linear-gradient(135deg, #1a0a0a, #0c0c12);
	border: 1px solid rgba(239, 68, 68, 0.4);
	border-radius: 50px;
	padding: 0.45rem 0.5rem 0.45rem 1rem;
	text-decoration: none;
	color: var(--text);
	transition: all var(--transition);
	cursor: pointer;
}

.live-btn:hover {
	border-color: var(--red);
	box-shadow: 0 0 25px rgba(239, 68, 68, 0.25);
	transform: translateY(-1px);
}

.live-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.2;
}

.live-label {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--red);
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.live-label .pulse {
	width: 7px;
	height: 7px;
	background: var(--red);
	border-radius: 50%;
	animation: pulse-red 1.4s infinite;
}

@keyframes pulse-red {

	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.4;
		transform: scale(0.75);
	}
}

.live-title {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text);
	white-space: nowrap;
}

.countdown {
	display: flex;
	gap: 0.35rem;
	background: rgba(239, 68, 68, 0.12);
	border-radius: 40px;
	padding: 0.4rem 0.7rem;
}

.countdown-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 32px;
}

.countdown-num {
	font-size: 0.95rem;
	font-weight: 800;
	color: #f87171;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.countdown-label {
	font-size: 0.55rem;
	text-transform: uppercase;
	color: var(--text-muted);
	letter-spacing: 0.04em;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--text);
	font-size: 1.5rem;
	cursor: pointer;
	margin-left: 0.5rem;
}

/* ========== HERO ========== */
.hero {
	position: relative;
	height: 100vh;
	min-height: 560px;
	overflow: hidden;
	background: #050508;
	display: flex;
	align-items: flex-end;
}

/* YouTube video background */
.hero-video-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.hero-video-bg iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-height: 100vh;
	min-width: 177.77vh;
	transform: translate(-50%, -50%);
	border: none;
	pointer-events: none;
}

/* Capa oscura translucida */
.hero-video-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top,
			rgba(5, 5, 8, 0.92) 0%,
			rgba(5, 5, 8, 0.70) 30%,
			rgba(5, 5, 8, 0.45) 55%,
			rgba(5, 5, 8, 0.35) 100%);
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
	padding: 0 2rem 5rem;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: rgba(0, 168, 255, 0.15);
	border: 1px solid var(--border);
	color: var(--blue);
	padding: 0.35rem 0.9rem;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 700;
	margin-bottom: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.hero h1 {
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin-bottom: 0.85rem;
	max-width: 720px;
	min-height: 1.3em;
}

.hero h1 .cursor {
	display: inline-block;
	color: var(--blue);
	font-weight: 400;
	animation: blink 0.8s step-end infinite;
	margin-left: 2px;
}

@keyframes blink {
	50% {
		opacity: 0;
	}
}

.hero p {
	color: var(--text-muted);
	font-size: 1.1rem;
	max-width: 520px;
	margin-bottom: 1.75rem;
}

.hero-actions {
	display: flex;
	gap: 0.85rem;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.85rem 1.6rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: all var(--transition);
	cursor: pointer;
	border: none;
	font-family: inherit;
}

.btn-primary {
	background: linear-gradient(135deg, var(--blue), var(--blue-dark));
	color: white;
	box-shadow: 0 0 22px var(--blue-glow);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px var(--blue-glow);
}

.btn-outline {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
	border: 1.5px solid var(--border);
}

.btn-outline:hover {
	border-color: var(--blue);
	color: var(--blue);
	background: rgba(0, 168, 255, 0.08);
}

/* ========== TABS SECTION ========== */
.tabs-section {
	padding: 5rem 1.5rem 6rem;
	max-width: 1200px;
	margin: 0 auto;
}

.tabs-nav {
	display: flex;
	gap: 0.35rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 60px;
	padding: 0.4rem;
	margin-bottom: 3rem;
	overflow-x: auto;
	scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
	display: none;
}

.tab-btn {
	flex: 1;
	min-width: max-content;
	padding: 0.85rem 1.5rem;
	border: none;
	background: transparent;
	color: var(--text-muted);
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 50px;
	cursor: pointer;
	transition: all var(--transition);
	white-space: nowrap;
	font-family: inherit;
}

.tab-btn:hover {
	color: var(--text);
}

.tab-btn.active {
	background: linear-gradient(135deg, var(--blue), var(--blue-dark));
	color: white;
	box-shadow: 0 4px 20px var(--blue-glow);
}

.tab-panel {
	display: none;
	animation: fadeIn 0.4s ease;
}

.tab-panel.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --- CASOS TAB --- */
.cases-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}

.case-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	cursor: pointer;
	transition: all var(--transition);
}

.case-card:hover {
	transform: translateY(-6px);
	border-color: var(--blue);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px var(--blue-glow);
}

.case-img {
	height: 180px;
	background: linear-gradient(135deg, #0a1628, #0c1a30);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

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

.case-img .placeholder-icon {
	font-size: 3rem;
	opacity: 0.25;
}

.case-status {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	padding: 0.28rem 0.7rem;
	border-radius: 50px;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	z-index: 2;
}

.status-live {
	background: rgba(239, 68, 68, 0.2);
	color: #f87171;
	border: 1px solid rgba(239, 68, 68, 0.4);
}

.status-active {
	background: rgba(0, 168, 255, 0.15);
	color: var(--blue);
	border: 1px solid var(--border);
}

.status-archive {
	background: rgba(148, 163, 184, 0.12);
	color: var(--text-muted);
	border: 1px solid rgba(148, 163, 184, 0.25);
}

.case-body {
	padding: 1.35rem;
}

.case-body h3 {
	font-size: 1.2rem;
	font-weight: 800;
	margin-bottom: 0.4rem;
}

.case-body p {
	color: var(--text-muted);
	font-size: 0.9rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 1rem;
}

.case-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8rem;
	color: var(--text-muted);
}

.case-tag {
	color: var(--blue);
	font-weight: 600;
}

.case-arrow {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(0, 168, 255, 0.1);
	display: grid;
	place-items: center;
	color: var(--blue);
	transition: all var(--transition);
}

.case-card:hover .case-arrow {
	background: var(--blue);
	color: white;
}

/* --- ARTICLES TAB --- */
.articles-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.article-card {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 1.5rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: all var(--transition);
	text-decoration: none;
	color: inherit;
}

.article-card:hover {
	border-color: var(--blue);
	transform: translateX(4px);
}

.article-thumb {
	background: linear-gradient(135deg, #0a1628, #0c1a30);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.2rem;
	opacity: 0.7;
	min-height: 120px;
}

.article-body {
	padding: 1.25rem 1.25rem 1.25rem 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.article-date {
	font-size: 0.75rem;
	color: var(--blue);
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.article-body h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.article-body p {
	color: var(--text-muted);
	font-size: 0.9rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* --- BIO TAB --- */
.bio-grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 3rem;
	align-items: start;
}

.bio-photo {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 20px;
	background: linear-gradient(135deg, #0a1628, #0c1a30);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 5rem;
	position: relative;
	overflow: hidden;
}

.bio-photo::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 30% 30%, var(--blue-glow), transparent 60%);
}

.bio-content h2 {
	font-size: 1.9rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
}

.bio-role {
	color: var(--blue);
	font-weight: 600;
	margin-bottom: 1.5rem;
	font-size: 1.05rem;
}

.bio-content p {
	color: var(--text-muted);
	margin-bottom: 1.1rem;
	font-size: 1.05rem;
}

.bio-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 2rem;
}

.bio-stat {
	text-align: center;
	padding: 1.1rem;
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

.bio-stat-num {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--blue);
	display: block;
}

.bio-stat-label {
	font-size: 0.75rem;
	color: var(--text-muted);
	margin-top: 0.2rem;
}

/* --- CONTACT TAB --- */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
}

.contact-info h2 {
	font-size: 1.7rem;
	font-weight: 800;
	margin-bottom: 0.75rem;
}

.contact-info>p {
	color: var(--text-muted);
	margin-bottom: 2rem;
}

.contact-item {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.25rem;
	align-items: flex-start;
}

.contact-icon {
	width: 44px;
	height: 44px;
	min-width: 44px;
	background: rgba(0, 168, 255, 0.1);
	border-radius: 12px;
	display: grid;
	place-items: center;
	color: var(--blue);
	font-size: 1.15rem;
}

.contact-item h4 {
	font-size: 0.95rem;
	font-weight: 700;
	margin-bottom: 0.15rem;
}

.contact-item a,
.contact-item span {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.95rem;
}

.contact-item a:hover {
	color: var(--blue);
}

.contact-form {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem;
}

.form-group {
	margin-bottom: 1.25rem;
}

.form-group label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
	color: var(--text-muted);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	font-family: inherit;
	font-size: 0.95rem;
	transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--blue);
}

.form-group textarea {
	min-height: 120px;
	resize: vertical;
}

/* ========== FOOTER ========== */
footer {
	background: var(--bg-elevated);
	border-top: 1px solid var(--border);
	padding: 3.5rem 1.5rem 1.75rem;
}

.footer-grid {
	max-width: 1200px;
	margin: 0 auto 2.5rem;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem;
}

.footer-brand p {
	color: var(--text-muted);
	font-size: 0.9rem;
	margin-top: 0.85rem;
	max-width: 260px;
	line-height: 1.55;
}

.footer-col h5 {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	margin-bottom: 1.1rem;
}

.footer-col ul {
	list-style: none;
}

.footer-col li {
	margin-bottom: 0.55rem;
}

.footer-col a {
	color: var(--text);
	text-decoration: none;
	font-size: 0.92rem;
	transition: color var(--transition);
}

.footer-col a:hover {
	color: var(--blue);
}

.footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.85rem;
	color: var(--text-muted);
}

/* ========== ICONOS SOCIALES DEL FOOTER ========== */
.socials {
	display: flex;
	gap: 0.8rem;
	margin-top: 1.25rem;
}

.socials a {
	width: 42px;
	/* Un poco más grandes para que el SVG respire */
	height: 42px;
	border-radius: 50%;
	/* Fondo oscuro casi negro, acorde a tu imagen de referencia */
	background: #0c0c12;
	/* Borde azul tenue */
	border: 1px solid rgba(0, 168, 255, 0.3);
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--blue);
	/* Color azul para los íconos */
	text-decoration: none;
	transition: all 0.3s ease;
}

.socials a svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	/* Hereda el color azul del enlace */
}

/* Efecto hover interactivo */
.socials a:hover {
	background: var(--blue);
	color: #ffffff;
	/* El ícono se vuelve blanco */
	border-color: var(--blue);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px var(--blue-glow);
}

@media (max-width: 800px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 500px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ========== MODAL ========== */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(8px);
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.modal-overlay.open {
	opacity: 1;
	visibility: visible;
}

.modal {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 20px;
	max-width: 640px;
	width: 100%;
	max-height: 88vh;
	overflow-y: auto;
	position: relative;
	transform: translateY(24px) scale(0.97);
	transition: transform 0.3s ease;
}

.modal-overlay.open .modal {
	transform: translateY(0) scale(1);
}

.modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: none;
	color: var(--text);
	font-size: 1.25rem;
	cursor: pointer;
	display: grid;
	place-items: center;
	z-index: 10;
}

.modal-close:hover {
	background: rgba(255, 255, 255, 0.15);
}

.modal-header {
	padding: 2rem 2rem 1.25rem;
	border-bottom: 1px solid var(--border);
}

.modal-header h2 {
	font-size: 1.6rem;
	font-weight: 800;
	margin: 0.5rem 0 0.3rem;
}

.modal-header .subtitle {
	color: var(--blue);
	font-weight: 600;
	font-size: 0.95rem;
}

.modal-body {
	padding: 1.5rem 2rem 2rem;
}

.modal-body p {
	color: var(--text-muted);
	margin-bottom: 1rem;
}

.modal-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 1.25rem 0;
}

.modal-tag {
	padding: 0.3rem 0.75rem;
	background: rgba(0, 168, 255, 0.1);
	border: 1px solid var(--border);
	border-radius: 50px;
	font-size: 0.75rem;
	color: var(--blue);
	font-weight: 600;
}

.modal-actions {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 1.25rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {

	.bio-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.bio-photo {
		max-width: 220px;
		margin: 0 auto;
	}

	.article-card {
		grid-template-columns: 100px 1fr;
	}

	.live-title {
		display: none;
	}
}

@media (max-width: 640px) {
	.header {
		padding: 0.7rem 1rem;
	}

	.countdown {
		display: none;
	}

	.live-btn {
		padding: 0.45rem 1rem;
	}

	.hero-content {
		padding: 0 1.25rem 4rem;
	}

	.tabs-nav {
		border-radius: 16px;
		flex-wrap: wrap;
	}

	.tab-btn {
		flex: 1 1 45%;
		text-align: center;
	}

	.article-card {
		grid-template-columns: 1fr;
	}

	.article-thumb {
		min-height: 100px;
	}
}

/* ========== WIDGETS DE HEADER (Clima y Dólar) ========== */
.header-widget {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: linear-gradient(135deg, #1a0a0a, #0c0c12);
	border: 1px solid var(--border);
	border-radius: 50px;
	padding: 0.45rem 0.5rem 0.45rem 1rem;
	text-decoration: none;
	color: var(--text);
	transition: all var(--transition);
	cursor: pointer;
}

.widget-icon {
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	font-weight: bold;
}

/* Contenedor interno de los datos imitando al .countdown */
.widget-data {
	display: flex;
	gap: 0.35rem;
	border-radius: 40px;
	padding: 0.4rem 0.7rem;
}

/* Unidades individuales (imita .countdown-unit) */
.widget-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 32px;
	padding: 0 0.2rem;
}

/* Números (imita .countdown-num) */
.widget-num {
	font-size: 0.95rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

/* Etiquetas (imita .countdown-label) */
.widget-label {
	font-size: 0.55rem;
	text-transform: uppercase;
	color: var(--text-muted);
	letter-spacing: 0.04em;
}

/* --- Variante Clima (Amarillo/Naranja) --- */
.weather-widget {
	background: linear-gradient(135deg, #1a1500, #0c0c12);
}

.weather-widget:hover {
	border-color: #fbbf24;
	box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
	transform: translateY(-1px);
}

.weather-widget .widget-icon {
	color: #fbbf24;
}

.weather-widget .widget-data {
	background: rgba(251, 191, 36, 0.12);
}

.weather-widget .widget-num {
	color: #fcd34d;
}

/* --- Variante Dólar (Verde) --- */
.dollar-widget {
	background: linear-gradient(135deg, #021a10, #0c0c12);
}

.dollar-widget:hover {
	border-color: #10b981;
	box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
	transform: translateY(-1px);
}

.dollar-widget .widget-icon {
	color: #10b981;
}

.dollar-widget .widget-data {
	background: rgba(16, 185, 129, 0.12);
}

.dollar-widget .widget-num {
	color: #34d399;
}

/* ========== MENÚ DE NAVEGACIÓN (Estilo Tabs) ========== */
.menu-pill-nav {
	display: flex;
	gap: 0.35rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 60px;
	padding: 0.4rem;
	margin-bottom: 2rem;
	/* Puedes ajustar este margen según tu diseño */
	overflow-x: auto;
	scrollbar-width: none;
}

.menu-pill-nav::-webkit-scrollbar {
	display: none;
}

.menu-pill-btn {
	flex: 1;
	min-width: max-content;
	padding: 0.85rem 1.5rem;
	border: none;
	background: transparent;
	color: var(--text-muted);
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 50px;
	cursor: pointer;
	transition: all var(--transition);
	white-space: nowrap;
	font-family: inherit;
	text-decoration: none;
	/* Quita el subrayado clásico de los enlaces */
	text-align: center;
	/* Asegura que el texto quede en el medio del botón */
	text-transform: uppercase;
	/* Fuerza las mayúsculas */
}

.menu-pill-btn:hover {
	color: var(--text);
}

.menu-pill-btn.active {
	background: linear-gradient(135deg, var(--blue), var(--blue-dark));
	color: white;
	box-shadow: 0 4px 20px var(--blue-glow);
}

/* ========== BOTONES FLOTANTES ========== */
.floating-buttons {
	position: fixed;
	right: 25px;
	bottom: 25px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	/* Separación exacta para que no se superpongan */
	z-index: 1500;
}

/* Botón Ir Arriba */
#btn-scroll-top {
	width: 45px;
	height: 45px;
	background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
	border: 1px solid var(--border);
	color: var(--text);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
	opacity: 0;
	/* Oculto por defecto */
	visibility: hidden;
	/* Oculto por defecto */
	transform: translateY(20px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estado activo cuando se baja en la página */
#btn-scroll-top.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

#btn-scroll-top:hover {
	border-color: var(--blue);
	color: var(--blue);
	background: rgba(0, 168, 255, 0.1);
}

#btn-scroll-top svg {
	width: 22px;
	height: 22px;
}

/* Botón WhatsApp */
#btn-whatsapp {
	width: 55px;
	height: 55px;
	background-color: #25d366;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
	animation: whatsapp-pulse 2s infinite ease-in-out;
	transition: transform 0.3s ease;
}

#btn-whatsapp svg {
	width: 32px;
	height: 32px;
}

#btn-whatsapp:hover {
	transform: scale(1.1);
	/* Efecto hover adicional */
	animation: none;
	/* Pausar la animación cuando se le pasa el ratón */
}

/* Animación de latido (contracción y expansión) */
@keyframes whatsapp-pulse {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
	}

	50% {
		transform: scale(1.08);
		box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
		/* Onda expansiva invisible */
	}

	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
	}
}

/* Ajuste móvil */
@media (max-width: 640px) {
	.floating-buttons {
		right: 15px;
		bottom: 15px;
	}
}

#progress-bar {
	position: fixed;
	top: 0;
	left: 0;
	height: 4px;
	background-color: #ff0000;
	width: 0%;
	z-index: 1001;
}

/* Contenedor de la foto y el botón */
.bio-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	/* Espacio entre la foto y el botón */
}

/* Botón de Instagram */
.bio-ig-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #ffffff !important;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.95rem;
	transition: all var(--transition);
	box-shadow: 0 4px 15px rgba(220, 39, 67, 0.25);
}

.bio-ig-link:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(220, 39, 67, 0.45);
}

.bio-ig-link svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}



/* ========== TIRA INTELINCLOUD ========== */
.intelincloud-strip {
    background-color: var(--bg-elevated);
    text-align: center;
    padding: 10px 0; /* Un poco más de espacio que 20px fijos para mejor aspecto */
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Sutil separación del footer */
}

.intelincloud-strip a {
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.intelincloud-strip a:hover {
    opacity: 0.8;
}
 
.brand-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #ffffff;
}

.brand-text .cloud {
	background: linear-gradient(135deg, #3b82f6, #7c3aed);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}