/* ============================================================
   HEADER / NAV / FOOTER / STICKY CTAs
   ============================================================ */

/* ---- Top utility bar ---- */
.utility-bar {
  background: var(--navy-950);
  color: rgba(255,255,255,0.78);
  font-size: 12.5px;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}
.utility-bar .ub-left { display: flex; gap: 22px; align-items: center; }
.utility-bar .ub-left a { display: flex; align-items: center; gap: 6px; transition: color .15s; }
.utility-bar .ub-left a:hover { color: var(--orange-400); }
.utility-bar .ub-right { display: flex; gap: 16px; align-items: center; }
.utility-bar .ub-right a { opacity: 0.85; }
.utility-bar .ub-right a:hover { color: var(--orange-400); }
@media (max-width: 760px) { .utility-bar .ub-left span.hide-mobile { display: none; } }

/* ---- Main header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  flex-wrap: nowrap;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex-shrink: 1; }
.brand-mark {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-950);
  line-height: 1.1;
  white-space: nowrap;
}
.brand-name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--orange-600);
  font-weight: 500;
  margin-top: 2px;
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav .nav-item { position: relative; }
.main-nav a.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.main-nav a.nav-link:hover { background: var(--paper-dim); color: var(--orange-600); }
.main-nav a.nav-link.active { color: var(--orange-600); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 50;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--navy-900);
  border-radius: var(--radius-sm);
}
.nav-dropdown a:hover { background: var(--paper-dim); color: var(--orange-600); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-cta .btn { padding: 11px 20px; }

.mobile-toggle {
  display: none;
  background: none; border: none; padding: 8px;
  color: var(--navy-950);
  flex-shrink: 0;
}
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-cta .btn-outline-navy { display: none; }
  .mobile-toggle { display: block; }
}
@media (max-width: 560px) {
  .brand-name { font-size: 16px; }
  .brand-name small { display: none; }
  .header-cta .btn-primary { padding: 9px 14px; font-size: 13px; }
}
.btn-text-short { display: none; }
@media (max-width: 760px) {
  .btn-text-full { display: none; }
  .btn-text-short { display: inline; }
}
@media (max-width: 420px) {
  .header-cta .btn-outline-navy { display: none; }
}

/* ---- Mobile menu drawer ---- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer .scrim {
  position: absolute; inset: 0;
  background: rgba(10,26,51,0.5);
}
.mobile-drawer .panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 86vw);
  background: var(--white);
  padding: 24px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-drawer .panel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.mobile-drawer .close-btn { background: none; border: none; padding: 8px; }
.mobile-drawer a.m-link {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-950);
}
.mobile-drawer .m-group-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin: 20px 0 4px;
}
.mobile-drawer .m-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--hairline-dark);
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.footer-brand .brand-name { color: var(--white); }
.footer-about { font-size: 13.5px; line-height: 1.7; margin: 16px 0 20px; max-width: 280px; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: background .15s, border-color .15s;
}
.footer-social a:hover { background: var(--orange-500); border-color: var(--orange-500); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p { display: block; font-size: 13.5px; margin-bottom: 11px; color: rgba(255,255,255,0.62); transition: color .15s; }
.footer-col a:hover { color: var(--orange-400); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 13.5px; color: rgba(255,255,255,0.62); }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--orange-400); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom .legal-links a:hover { color: var(--orange-400); }

/* ---- Sticky mobile CTA bar ---- */
.sticky-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  display: none;
  background: var(--white);
  border-top: 1px solid var(--hairline);
  box-shadow: 0 -4px 16px rgba(10,26,51,0.08);
}
.sticky-cta-bar .row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.sticky-cta-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 0 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy-900);
  border-right: 1px solid var(--hairline);
}
.sticky-cta-bar a:last-child { border-right: none; }
.sticky-cta-bar a.wa { color: var(--success); }
.sticky-cta-bar a.call { color: var(--orange-600); }
@media (max-width: 760px) {
  .sticky-cta-bar { display: block; }
  body { padding-bottom: 64px; }
}

/* ---- Desktop floating action buttons ---- */
.fab-stack {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 760px) { .fab-stack { bottom: 80px; right: 16px; } }
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .15s;
}
.fab:hover { transform: scale(1.08); }
.fab.fab-wa { background: #25D366; color: white; }
.fab.fab-call { background: var(--navy-950); color: white; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  padding: 14px 0;
  font-size: 13px;
}
.breadcrumb .container { display: flex; gap: 8px; align-items: center; color: var(--slate); }
.breadcrumb a:hover { color: var(--orange-600); }
.breadcrumb .sep { color: var(--slate-light); }
.breadcrumb .current { color: var(--navy-950); font-weight: 500; }
