@import('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
	--cbtis-guinda: #6e1032;
	--cbtis-guinda-light: #8b153f;
	--cbtis-guinda-dark: #4d0a22;
	--cbtis-oro: #b38e5d;
	--cbtis-oro-light: #d4af37;
	--white: #ffffff;
	--light-gray: #f8f9fa;
}

body {
	font-family: 'Open Sans', sans-serif;
	background-color: var(--white);
	color: #333;
}

h1, h2, h3, h4, .navbar-brand {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}

/* Top Bar */
.top-bar {
	background-color: var(--cbtis-guinda-dark);
	color: white;
	font-size: 0.75rem;
	padding: 8px 0;
}

/* Navbar Custom */
.navbar {
	background: white;
	border-bottom: 4px solid var(--cbtis-oro);
	padding: 0.8rem 0;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.navbar-brand {
	color: var(--cbtis-guinda) !important;
	font-size: 1.4rem;
	line-height: 1.1;
}
.nav-link {
	color: #333 !important;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.8rem;
	margin: 0 8px;
	transition: 0.3s;
}
.nav-link:hover {
	color: var(--cbtis-guinda) !important;
	transform: translateY(-2px);
}

/* Hero Moderno con Multi-Logo */
.hero {
	background: linear-gradient(135deg, rgba(110, 16, 50, 0.95) 0%, rgba(77, 10, 34, 0.85) 100%),
				url('https://images.unsplash.com/photo-1523050853051-be991f85a6ad?auto=format&fit=crop&w=1600&q=80');
	background-size: cover;
	background-position: center;
	color: white;
	padding: 140px 0;
	position: relative;
}
.hero-logos {
	position: absolute;
	top: 20px;
	right: 50px;
	display: flex;
	gap: 20px;
	opacity: 0.9;
}

/* Quick Links Bar */
.quick-links {
	margin-top: -50px;
	position: relative;
	z-index: 10;
}
.quick-card {
	background: white;
	border-bottom: 5px solid var(--cbtis-oro);
	border-radius: 12px;
	padding: 25px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	transition: 0.3s;
	text-decoration: none;
	color: inherit;
	display: block;
}
.quick-card:hover {
	transform: translateY(-10px);
	background: var(--cbtis-guinda);
	color: white;
}

/* Especialidades Refinadas */
.card-career {
	border: none;
	border-radius: 20px;
	background: var(--light-gray);
	transition: 0.4s;
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0.05);
}
.card-career:hover {
	background: white;
	box-shadow: 0 20px 40px rgba(110, 16, 50, 0.1);
}
.icon-box {
	width: 80px;
	height: 80px;
	background: white;
	color: var(--cbtis-guinda);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	font-size: 2rem;
	margin: 0 auto 20px;
	box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.card-career:hover .icon-box {
	background: var(--cbtis-guinda);
	color: white;
}

/* Chat Widget IA */
#ai-chat-container {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 1000;
}
.chat-toggle {
	width: 65px;
	height: 65px;
	border-radius: 50%;
	background: var(--cbtis-guinda);
	color: white;
	border: 4px solid white;
	box-shadow: 0 10px 25px rgba(0,0,0,0.2);
	font-size: 1.5rem;
	transition: 0.3s;
}
.chat-box {
	width: 400px;
	height: 600px;
	background: white;
	border-radius: 25px;
	display: none;
	flex-direction: column;
	box-shadow: 0 25px 60px rgba(0,0,0,0.25);
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0.1);
}
.chat-header {
	background: linear-gradient(to right, var(--cbtis-guinda), var(--cbtis-guinda-dark));
	color: white;
	padding: 25px;
}

/* Footer Expandido */
footer {
	background: #1a1a1a;
	color: #bbb;
	padding: 80px 0 0;
	font-size: 0.9rem;
}
.footer-title {
	color: white;
	font-weight: 700;
	margin-bottom: 30px;
	position: relative;
	padding-bottom: 10px;
}
.footer-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 3px;
	background: var(--cbtis-oro);
}
.footer-link {
	color: #bbb;
	text-decoration: none;
	display: block;
	margin-bottom: 12px;
	transition: 0.2s;
}
.footer-link:hover {
	color: var(--cbtis-oro);
	padding-left: 8px;
}
.bottom-footer {
	background: #111;
	padding: 25px 0;
	margin-top: 60px;
	color: #666;
	font-size: 0.8rem;
}

/* Social Links */
.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255,255,255,0.1);
	color: #bbb;
	text-decoration: none;
	transition: 0.3s;
}
.social-link:hover {
	background: var(--cbtis-oro);
	color: white;
}

/* Page Hero (páginas internas) */
.page-hero {
	background: linear-gradient(135deg, var(--cbtis-guinda) 0%, var(--cbtis-guinda-dark) 100%);
	color: white;
	padding: 70px 0 50px;
}
.breadcrumb-item + .breadcrumb-item::before {
	color: rgba(255,255,255,0.5);
}
.breadcrumb-item a {
	color: rgba(255,255,255,0.7);
	text-decoration: none;
}
.breadcrumb-item.active {
	color: white;
}

/* Estilos de botones guinda */
.btn-guinda {
	background-color: var(--cbtis-guinda);
	color: white;
	border-radius: 30px;
	padding: 10px 25px;
	font-weight: 600;
	border: none;
	transition: 0.3s;
}
.btn-guinda:hover {
	background-color: var(--cbtis-guinda-dark);
	color: white;
	transform: scale(1.05);
}
