/* ==========================================================================
   IBS shared chrome styles (header, navigation, footer, socials, floating
   WhatsApp and back-to-top). Scoped so it does NOT override page content
   styles. Loaded after each page's own <style> so the shared design wins for
   equal-specificity chrome rules. Uses literal colours (no CSS var deps).
   ========================================================================== */

/* ---------- Header ---------- */
.ibs-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #dfe7f0;
  backdrop-filter: blur(12px);
}

.ibs-header .ibs-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.ibs-header .ibs-nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ibs-header .ibs-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.ibs-header .ibs-logo img {
  width: auto;
  height: 72px;
  object-fit: contain;
}

.ibs-header .ibs-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.ibs-header .ibs-nav-links > a,
.ibs-header .ibs-nav-dropdown > summary {
  color: #0f2a43;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.ibs-header .ibs-nav-links > a:hover,
.ibs-header .ibs-nav-dropdown > summary:hover {
  color: #1d4ed8;
}

.ibs-header .ibs-nav-dropdown {
  position: relative;
}

.ibs-header .ibs-nav-dropdown > summary {
  list-style: none;
}

.ibs-header .ibs-nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.ibs-header .ibs-nav-dropdown > summary::after {
  content: "\2335";
  margin-left: 7px;
}

.ibs-header .ibs-dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: -20px;
  width: 250px;
  padding: 10px;
  border: 1px solid #dfe7f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(15, 42, 67, .12);
}

.ibs-header .ibs-dropdown-panel a {
  display: block;
  padding: 11px 13px;
  border-radius: 7px;
  text-decoration: none;
  color: #0f2a43;
  font-size: 15px;
}

.ibs-header .ibs-dropdown-panel a:hover {
  background: #edf3ff;
  color: #1d4ed8;
}

.ibs-header .ibs-nav-links .ibs-nav-call {
  background: #1d4ed8;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 9px;
}

.ibs-header .ibs-nav-links .ibs-nav-call:hover {
  background: #1641b5;
  color: #fff;
}

.ibs-header .ibs-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: #edf3ff;
  border: 1px solid #dfe7f0;
  border-radius: 9px;
  color: #0f2a43;
  cursor: pointer;
}

.ibs-header .ibs-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
}

/* ---------- Footer ---------- */
.ibs-footer {
  background: #0f2a43;
  color: #c5d3e2;
  padding: 54px 0 0;
}

.ibs-footer .ibs-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.ibs-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 30px;
  padding-bottom: 36px;
}

.ibs-footer-logo {
  width: 75px;
  height: auto;
  margin-bottom: 16px;
  padding: 5px;
  background: #fff;
  border-radius: 8px;
}

.ibs-footer-brand {
  color: #fff;
  font-size: 16px;
  margin-bottom: 12px;
}

.ibs-footer p,
.ibs-footer address {
  font-size: 12px;
  font-style: normal;
  line-height: 1.9;
}

.ibs-footer h3 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 17px;
}

.ibs-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ibs-footer-links li {
  margin-bottom: 9px;
}

.ibs-footer-links a,
.ibs-footer-contact a {
  font-size: 12px;
  text-decoration: none;
}

.ibs-footer-links a:hover,
.ibs-footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.ibs-footer-contact a {
  display: block;
  margin-bottom: 7px;
  overflow-wrap: anywhere;
}

/* Social icons (real image assets) */
.ibs-social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.ibs-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  transition: transform .2s, box-shadow .2s;
}

.ibs-social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .26);
}

.ibs-social-links img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.ibs-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 20px 0;
  text-align: center;
}

.ibs-footer-bottom p {
  margin: 0;
  font-size: 11px;
}

/* ---------- Floating WhatsApp ---------- */
.ibs-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s, transform .2s, visibility .2s;
}

.ibs-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}


.ibs-whatsapp.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- Back to top ---------- */
.ibs-back-top {
  position: fixed;
  right: 26px;
  bottom: 90px;
  z-index: 900;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe7f3;
  border-radius: 50%;
  background: #fff;
  color: #0f4c97;
  box-shadow: 0 8px 22px rgba(15, 76, 151, .14);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
}

.ibs-back-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ibs-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ibs-back-top:hover {
  transform: translateY(-3px);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .ibs-header .ibs-nav {
    min-height: 84px;
  }

  .ibs-header .ibs-logo img {
    height: 60px;
  }

  .ibs-header .ibs-nav-links {
    gap: 16px;
  }

  .ibs-header .ibs-nav-links > a,
  .ibs-header .ibs-nav-dropdown > summary {
    font-size: 15px;
  }

  .ibs-header .ibs-nav-links .ibs-nav-call {
    font-size: 15px;
    padding: 10px 16px;
  }

  .ibs-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .ibs-header .ibs-menu-toggle {
    display: block;
  }

  .ibs-header .ibs-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 22px 24px;
    background: #fff;
    border-bottom: 1px solid #dfe7f0;
    box-shadow: 0 12px 20px rgba(15, 42, 67, .06);
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .ibs-header .ibs-nav-links.is-open {
    display: flex;
  }

  .ibs-header .ibs-nav-links > a,
  .ibs-header .ibs-nav-dropdown > summary {
    font-size: 16px;
    padding: 8px 0;
  }

  .ibs-header .ibs-nav-links .ibs-nav-call {
    font-size: 16px;
    padding: 12px 20px;
  }

  .ibs-header .ibs-dropdown-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
    box-shadow: none;
    background: #f5f8fc;
  }

  .ibs-header .ibs-nav-call {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .ibs-footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .ibs-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .ibs-back-top {
    right: 20px;
    bottom: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ibs-whatsapp,
  .ibs-back-top,
  .ibs-social-links a {
    transition: none;
  }
}