:root {
  --color-primary: #000080;
  --color-primary-dark: #000066;
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

body {
  font-family: var(--font-body);
  color: #333;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .section-title {
  font-family: var(--font-heading);
  color: var(--color-primary);
}

.section-title { text-align: center; margin-bottom: 2rem; }
.section-block { padding: 3rem 0; }
.text-justify { text-align: justify; }

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

.topbar {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}
.topbar a { color: #333; text-decoration: none; }
.topbar a:hover { color: var(--color-primary); }
.topbar i { color: var(--color-primary); margin-right: 0.35rem; }

.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 1020;
}
.site-header .navbar-brand img { max-height: 56px; width: auto; }
.site-header .nav-link { color: #333; font-weight: 600; }
.site-header .nav-link:hover { color: var(--color-primary); }
.site-header .dropdown-menu { border: none; box-shadow: 0 8px 24px rgba(0,0,0,.1); }

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    padding: 1rem 0;
    border-top: 1px solid #eee;
    margin-top: .5rem;
  }
}

.hero-slider {
  width: 100%;
  height: calc(100vh - var(--hero-top-offset, 0px));
  height: calc(100svh - var(--hero-top-offset, 0px));
  min-height: 420px;
  overflow: hidden;
}

.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  height: 100%;
  min-height: 100%;
}

.hero-slider .swiper-slide {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-slider .swiper-slide > .container {
  height: 100%;
  display: flex;
  align-items: center;
}

@media (max-width: 767.98px) {
  .hero-slider { min-height: 360px; }
}

.hero-slider .slide-caption {
  background: rgba(255,255,255,.88);
  padding: 1.5rem;
  border-radius: .5rem;
  max-width: 100%;
}
@media (min-width: 768px) {
  .hero-slider .slide-caption { max-width: 700px; padding: 2rem; }
}
.hero-slider .slide-caption h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--color-primary);
}
.hero-slider .slide-caption p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-primary);
  margin-bottom: 0;
}
.hero-slider .swiper-button-prev, .hero-slider .swiper-button-next { color: var(--color-primary); }
.hero-slider .swiper-pagination-bullet-active { background: var(--color-primary); }

.page-hero {
  min-height: 35vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.page-hero-caption {
  background: rgba(0,0,128,.75);
  color: #fff;
  padding: 1.5rem;
  width: 100%;
}
.page-hero-caption h1 { color: #fff; font-size: clamp(1.25rem, 3vw, 2rem); margin: 0; }

.feature-card { height: 100%; padding: 1.5rem; text-align: center; }
.feature-icon { font-size: 2.5rem; color: var(--color-primary); }

.testimonial-card { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.testimonial-card img {
  width: 80px; height: 80px; object-fit: cover; border-radius: 50%; flex-shrink: 0;
}
.testimonial-meta { font-weight: 700; margin-top: .5rem; color: var(--color-primary); }

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: .5rem;
  margin: 0 auto;
  max-width: 320px;
}
.team-card img { width: 100%; height: auto; display: block; border: 1px solid #ccc; }
.team-card .team-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 0; overflow: hidden;
  background: rgba(255,255,255,.95);
  padding: 0 .75rem;
  font-size: .875rem; line-height: 1.6; text-align: justify;
  transition: max-height .35s ease, padding .35s ease;
}
.team-card:hover .team-overlay, .team-card:focus-within .team-overlay, .team-card.is-open .team-overlay {
  max-height: 100%; padding: .75rem;
}
@media (hover: none) {
  .team-card .team-overlay {
    max-height: none; position: static; padding: .75rem; background: #fff;
  }
}

.facebook-cta {
  background: #f0f2f5;
  border-radius: .5rem;
  padding: 2rem;
  text-align: center;
}

.youtube-facade {
  position: relative; cursor: pointer; border-radius: .5rem;
  overflow: hidden; aspect-ratio: 16/9; background: #000;
}
.youtube-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.youtube-facade .play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.youtube-facade .play-btn i {
  font-size: 4rem; color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}
.youtube-facade.loaded iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

.contact-info { }
@media (max-width: 767.98px) {
  .contact-info { text-align: center; margin-top: 1.5rem; }
}

.accordion-button:not(.collapsed) {
  background-color: rgba(0,0,128,.08);
  color: var(--color-primary);
}
.imc-table tbody tr.imc-highlight td,
#imc tbody tr.imc-highlight td {
  background-color: #7e7b7b !important;
  color: #fff !important;
}

.content-article {
  background: #eee;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1.5rem 1.25rem 2.5rem;
  margin: 2rem auto;
  max-width: 900px;
}
.content-article .content-title, #tit {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1.25rem;
}
.content-body, #x, .q99 {
  font-size: 1rem;
  line-height: 1.5;
  text-align: justify;
}
#artx, .article-highlight { color: #09f; font-weight: 600; }

.site-footer {
  background: #f5f5f5;
  border-top: 2px solid rgba(0,0,0,.06);
  padding: 2.5rem 0 1rem;
}
.site-footer .footer-contact { font-weight: 700; margin-bottom: 1rem; }
.site-footer .footer-contact span {
  display: block; font-weight: 400; font-size: .875rem; color: #666;
}
.site-footer .copyright {
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: 2rem; padding-top: 1rem; font-size: .9rem;
}

.go-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1030;
  display: none; width: 2.75rem; height: 2.75rem;
  border-radius: 50%; border: none;
  background: var(--color-primary); color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  align-items: center; justify-content: center;
}
.go-top.visible { display: flex; }
