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

html {
	scroll-behavior: smooth;
}

/* ============================
   Identidad visual (Logo)
   Azul marino + Dorado
   ============================ */
:root {
	--brand-navy-900: #061a33;
	--brand-navy-800: #0a2547;
	--brand-navy-700: #0f2f5c;
	--brand-gold-500: #c9a24d;
	--brand-gold-400: #e0c27a;

	--bg: #f8fafc;
	--bg-soft: #f8fafc;
	--text: #0f172a;
	--muted: #5f6b7a;
	--border: rgba(6, 26, 51, 0.14);
	--panel: #f8fafc;

	/* Bootstrap tokens (para utilidades como text-primary, link-color, etc.) */
	--bs-body-font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
	--bs-body-font-size: 1.1875rem;
	--bs-body-line-height: 1.6;
	--bs-body-bg: var(--bg);
	--bs-body-color: var(--text);
	--bs-link-color: var(--brand-navy-800);
	--bs-link-hover-color: var(--brand-navy-900);
	--bs-primary: var(--brand-navy-900);
	--bs-primary-rgb: 6, 26, 51;
	--bs-secondary: var(--brand-gold-500);
	--bs-secondary-rgb: 201, 162, 77;
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	font-weight: 400;
	font-size: 1.1875rem;
}

/* Header sticky sin interferir con Bootstrap */
.site-header { position: sticky; top: 0; z-index: 1020; }

/* Tipografía y links */
h1 { margin: 1rem 0 0.5rem; font-size: 2rem; }
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-weight: 600;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
	font-weight: 700;
}
p { color: var(--muted); }
a { color: var(--brand-navy-800); text-decoration-color: rgba(10, 37, 71, 0.35); }
a:hover { color: var(--brand-navy-900); text-decoration-color: rgba(10, 37, 71, 0.6); }

/* Hero (título + descripción) */
.hero-title {
	letter-spacing: 0.01em;
}

.hero-subtitle {
	max-width: 60ch;
	margin-left: 0;
	margin-right: auto;
	text-align: center;
	font-size: clamp(1.1rem, 1.1vw + 0.7rem, 1.6rem);
	line-height: 1.6;
}

.hero-logo-img {
	display: block;
	width: clamp(96px, 9vw, 132px);
	height: clamp(96px, 9vw, 132px);
	object-fit: cover;
}

.collab-avatar {
	object-fit: cover;
	display: block;
}

@keyframes heroFadeUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-animate {
	animation: heroFadeUp 700ms ease-out both;
}

.hero-animate--delay {
	animation-delay: 120ms;
}

@media (prefers-reduced-motion: reduce) {
	.hero-animate,
	.hero-animate--delay {
		animation: none !important;
	}
}

/* ============================
   Overrides Bootstrap (Marca)
   ============================ */

/* Navbar / Footer: reutilizan bg-dark */
.bg-dark {
	background-color: var(--brand-navy-900) !important;
}

.navbar {
	border-bottom: 1px solid rgba(201, 162, 77, 0.25);
}

.navbar-dark .navbar-brand {
	color: var(--brand-gold-500);
	font-weight: 700;
}

.navbar-dark .navbar-brand:hover,
.navbar-dark .navbar-brand:focus {
	color: var(--brand-gold-400);
}

.navbar-dark .navbar-nav .nav-link {
	color: rgba(255, 255, 255, 0.82);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
	color: var(--brand-gold-400);
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .show > .nav-link {
	color: var(--brand-gold-500);
}

.dropdown-menu {
	border-color: rgba(6, 26, 51, 0.18);
	box-shadow: 0 10px 24px rgba(6, 26, 51, 0.14);
}

.dropdown-item.active,
.dropdown-item:active {
	background-color: var(--brand-navy-900);
	color: #fff;
}

.dropdown-item:hover,
.dropdown-item:focus {
	background-color: rgba(6, 26, 51, 0.06);
}

/* Botones */
.btn-primary {
	background-color: var(--brand-gold-500);
	border-color: var(--brand-gold-500);
	color: var(--brand-navy-900);
	font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: var(--brand-gold-400);
	border-color: var(--brand-gold-400);
	color: var(--brand-navy-900);
}

.btn-outline-success {
	color: var(--brand-navy-900);
	border-color: rgba(6, 26, 51, 0.35);
}

.btn-outline-success:hover,
.btn-outline-success:focus {
	background-color: var(--brand-navy-900);
	border-color: var(--brand-navy-900);
	color: #fff;
}

.btn-outline-success:hover .text-muted,
.btn-outline-success:focus .text-muted {
	color: rgba(255, 255, 255, 0.78) !important;
}

/* Campos de formulario */
.form-control:focus,
.form-select:focus {
	border-color: rgba(201, 162, 77, 0.75);
	box-shadow: 0 0 0 0.2rem rgba(201, 162, 77, 0.25);
}

/* Cards */
.card {
	border-color: var(--border);
}

.card.shadow-sm {
	box-shadow: 0 0.5rem 1rem rgba(6, 26, 51, 0.08) !important;
}

/* Quiénes somos (home) */
.quienes-somos-card {
	border: 2px solid rgba(201, 162, 77, 0.55);
	border-radius: 0.75rem;
	background: linear-gradient(180deg, rgba(201, 162, 77, 0.08), rgba(248, 250, 252, 0));
}

.quienes-somos-card .card-body {
	padding: 1.5rem;
}

.quienes-somos-title {
	font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--brand-navy-900);
}

.quienes-somos-text {
	font-size: 1.05rem;
	line-height: 1.7;
	color: rgba(15, 23, 42, 0.9);
}

.site-footer .footer-contact h3 {
	font-weight: 600;
}

.site-footer .footer-contact ul li {
	margin-bottom: 4px;
}

/* Cards de presentación (Agendar) */
.afiche-contact-section .collab-card .card-body {
	padding: 1.5rem;
}

.afiche-contact-section .collab-card .collab-avatar {
	width: 150px;
	height: 150px;
}
#afiche .afiche-contact-section .card {
	border: 1px solid var(--border);
}

#afiche .afiche-contact-form .form-label {
	font-weight: 600;
}

#afiche .afiche-contact-form .form-text {
	color: var(--muted);
}

#afiche .afiche-contact-form textarea {
	resize: vertical;
}
#afiche .afiche-title {
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

#afiche .afiche-hero {
	width: 100%;
	height: auto;
	object-fit: cover;
}

#afiche .afiche-hero-placeholder {
	width: 100%;
	min-height: 160px;
	background: linear-gradient(135deg, #2c2c2c 0%, #555 100%);
}

#afiche .afiche-ribbon {
	background-color: var(--brand-navy-900);
	color: var(--brand-gold-400);
	padding: 8px 12px;
	border-radius: 6px;
	border: 1px solid rgba(201, 162, 77, 0.25);
}

#afiche .afiche-ribbon-label {
	font-weight: 600;
}

#afiche .afiche-year {
	font-weight: 700;
}

#afiche .afiche-subtitle {
	font-size: 1.25rem;
	font-weight: 700;
}

#afiche .afiche-areas-title {
	color: var(--brand-navy-900);
	font-weight: 700;
	margin-top: 1rem;
}

#afiche .afiche-areas-dropdown .dropdown-menu {
	max-width: none; /* permite ancho completo dentro del contenedor */
}

#afiche .afiche-areas-dropdown .fw-bold {
	font-weight: 700;
}

#afiche .afiche-areas-list .dropdown-menu {
	width: 100%;
}

#afiche .afiche-areas-list .dropdown-toggle {
	white-space: normal; /* permite que las descripciones cortas bajen de línea */
}

/* Abrir dropdown al pasar el cursor */
#afiche .afiche-areas-list .dropdown:hover .dropdown-menu {
	display: block;
	margin-top: 0;
}

#afiche .afiche-areas li {
	margin-bottom: 6px;
}

#afiche .afiche-contact-title {
	margin-top: 1rem;
	font-weight: 600;
}

#afiche .afiche-contact li {
	margin-bottom: 4px;
}

#afiche .afiche-quote {
	color: var(--brand-navy-900);
	border-left: 4px solid var(--brand-gold-500);
	padding-left: 12px;
	font-style: italic;
	background: rgba(201, 162, 77, 0.08);
	border-radius: 6px;
	padding-top: 10px;
	padding-bottom: 10px;
}

#afiche .afiche-panel {
	background-color: var(--brand-navy-900);
	color: rgba(255, 255, 255, 0.92);
	padding: 16px;
	border-radius: 8px;
	border: 1px solid rgba(201, 162, 77, 0.25);
}

#afiche .afiche-panel h3 {
	margin-bottom: 8px;
}

#afiche .afiche-panel li {
	margin-bottom: 6px;
}

#afiche .afiche-caption {
	font-size: 0.875rem;
	color: var(--muted);
	margin-top: 4px;
}

#afiche .afiche-photo-placeholder {
	width: 100%;
	min-height: 180px;
	background: #ddd;
}
/* Contenido principal */
main { padding-top: 1rem; padding-bottom: 2rem; }

/* Puedes añadir overrides específicos aquí si lo deseas */
/* .card { border-radius: 10px; } */

/* Footer */
.site-footer { text-align: center; }

