:root {
  --primary: #005BBB;
  --primary-dark: #003f80;
  --secondary: #6c757d;
  --light: #f8f9fa;
  --dark: #343a40;
  --success: #28a745;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #343a40;
}

a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 { color: var(--dark); }

.navbar-brand-custom {
  background: linear-gradient(135deg, #003f80 0%, #005BBB 100%);
}

.navbar-brand-custom .nav-link,
.navbar-brand-custom .navbar-brand {
  color: rgba(255,255,255,0.92) !important;
}

.navbar-brand-custom .nav-link:hover,
.navbar-brand-custom .dropdown-item:hover {
  color: #ffffff !important;
  background-color: #5797db !important;
}

.navbar-brand-custom .dropdown-menu {
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.hero-section {
  background-color: #003f80;
  background-image: linear-gradient(rgba(0,40,90,0.55), rgba(0,40,90,0.55)), url('/fondo-header.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: white;
  padding: 60px 0;
  text-align: center;
}

.hero-section h1, .hero-section h2 {
  color: white;
}

.section-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  padding: 32px;
  margin-bottom: 28px;
}

.section-card h2 {
  border-bottom: 2px solid var(--primary);
  padding-bottom: 12px;
  margin-bottom: 20px;
  color: var(--primary);
}

.section-card h3 {
  color: var(--primary-dark);
  margin-top: 28px;
  margin-bottom: 14px;
}

.section-card p, .section-card li {
  line-height: 1.7;
}

.section-card ul, .section-card ol {
  padding-left: 1.4rem;
}

.section-card ul li {
  margin-bottom: 8px;
}

.highlight-box {
  background: rgba(0, 91, 187, 0.06);
  border-left: 4px solid var(--primary);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 22px 0;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.site-footer {
  background: linear-gradient(135deg, #003f80 0%, #005BBB 100%);
  color: white;
  padding: 50px 0 24px;
  margin-top: 60px;
}

.site-footer h5 {
  color: white;
  margin-bottom: 16px;
}

.site-footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: white;
  text-decoration: underline;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  margin-top: 24px;
  font-size: 0.9rem;
}

.breadcrumb-bar {
  background: white;
  border-bottom: 1px solid #e9ecef;
  padding: 10px 0;
  font-size: 0.9rem;
}

.breadcrumb-bar .breadcrumb {
  margin-bottom: 0;
}

.guide-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding: 22px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  color: inherit;
}

.guide-card .guide-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.faq-item {
  border-bottom: 1px solid #e9ecef;
  padding: 18px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.faq-item p { margin-bottom: 0; }

.author-byline {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
