/* ============================================================
   header.css — styles for components/header.html ONLY.
   ============================================================ */

#site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
}

.sy-nav {
  background: #fff;
  border-bottom: 1px solid rgba(10, 37, 64, .08);
  padding: .65rem 0;
  transition: box-shadow .25s;
}
.sy-nav.is-scrolled { box-shadow: 0 4px 16px rgba(10, 37, 64, .08); }

.sy-nav-tools {
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* --- Brand --- */
.sy-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 0;
  margin: 0;
}
.sy-brand-logo {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--sy-navy);
  color: var(--sy-yellow);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  overflow: hidden;
  flex: 0 0 42px;
}
.sy-brand-logo img { width: 100%; height: 100%; object-fit: cover; }

.sy-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}
.sy-brand-name {
  font-weight: 800;
  font-size: 1rem;
  color: #0a2540;
  letter-spacing: -.2px;
  white-space: nowrap;
}
.sy-brand-tag {
  font-size: .68rem;
  color: rgba(10, 37, 64, .7);
  letter-spacing: .3px;
  white-space: nowrap;
}
.sy-nav .sy-brand-tag { display: none; }

/* --- Nav links --- */
.sy-nav-links .nav-link {
  color: #0a2540;
  font-weight: 500;
  font-size: .92rem;
  padding: .6rem .9rem;
  position: relative;
}
.sy-nav-links .nav-link:hover,
.sy-nav-links .nav-link.active { color: #123a5c; }

.sy-nav-links .nav-link.active::after,
.sy-nav-links .nav-link:hover::after {
  content: "";
  position: absolute;
  left: .9rem; right: .9rem;
  bottom: .3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--sy-yellow);
}

/* --- Actions --- */
.sy-nav-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.sy-icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(10, 37, 64, .3);
  background: transparent;
  color: #0a2540;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  transition: all .2s;
}
.sy-icon-btn:hover { background: rgba(10, 37, 64, .08); border-color: #0a2540; }
.sy-whatsapp-btn { color: #fff; }
.sy-whatsapp-btn:hover { color: #fff; }

/* --- Toggler --- */
.sy-toggler {
  border: 1px solid rgba(10, 37, 64, .3);
  border-radius: 10px;
  padding: .3rem .6rem;
  font-size: 1.3rem;
  color: #0a2540;
  background: transparent;
}
.sy-toggler:focus { box-shadow: 0 0 0 .2rem rgba(30, 111, 217, .18); }

/* --- Responsive --- */
@media (min-width: 1200px) {
  .sy-nav .container { justify-content: space-between; }
  .sy-brand { flex-shrink: 0; }
  .sy-nav .navbar-collapse { order: 2; flex: 0 0 auto; }
  .sy-nav-tools { order: 3; }
  .sy-nav-links { margin: 0 .5rem 0 0 !important; }
  .sy-nav-links .nav-link { padding-right: .55rem; padding-left: .55rem; }
  .sy-nav-actions { flex-shrink: 0; }
}

@media (max-width: 1199.98px) {
  .sy-nav .navbar-collapse {
    max-height: calc(100vh - 6rem);
    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin-top: .65rem;
    padding: .7rem 1rem;
    border: 1px solid rgba(10, 37, 64, .12);
    border-radius: 12px;
    background: #fff;
  }
  .sy-nav-links { padding: 1rem 0 .5rem; }
  .sy-nav-actions { padding-bottom: 1rem; }
  .sy-nav-links .nav-link { color: #0a2540; }
  .sy-nav-links .nav-link.active::after,
  .sy-nav-links .nav-link:hover::after { display: none; }
}
@media (max-width: 400px) {
  .sy-brand-name { font-size: .92rem; }
  .sy-brand-tag  { font-size: .62rem; }
  .sy-brand-logo { width: 38px; height: 38px; flex-basis: 38px; font-size: 1.15rem; }
}