/* ============================================================
   VIHAVAULT — shared.css
   Brand: Navy #002060 | Electric Blue #1155FF | Grey #6B7280
   Font: Montserrat (all weights)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1a1a2e;
  background: #ffffff;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: 'Montserrat', sans-serif; cursor: pointer; border: none; background: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: #002060; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 600; }
p { color: #4a4a6a; line-height: 1.7; }

.vv-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1155FF;
  border-left: 3px solid #1155FF;
  padding-left: 10px;
  margin-bottom: 1rem;
}

/* ---- LAYOUT ---- */
.vv-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.vv-section {
  padding: 80px 0;
}

.vv-section--grey {
  background: #f7f8fc;
}

.vv-section--navy {
  background: #002060;
}

/* ---- BUTTONS ---- */
.vv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.18s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.vv-btn--primary {
  background: #1155FF;
  color: #ffffff;
  border-color: #1155FF;
}
.vv-btn--primary:hover { background: #0d44d6; border-color: #0d44d6; }

.vv-btn--navy {
  background: #002060;
  color: #ffffff;
  border-color: #002060;
}
.vv-btn--navy:hover { background: #001540; border-color: #001540; }

.vv-btn--outline {
  background: transparent;
  color: #002060;
  border-color: #002060;
}
.vv-btn--outline:hover { background: #002060; color: #fff; }

.vv-btn--outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.45);
}
.vv-btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

.vv-btn--electric {
  background: transparent;
  color: #1155FF;
  border-color: #1155FF;
}
.vv-btn--electric:hover { background: #1155FF; color: #fff; }

/* ---- NAV ---- */
#vv-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e8eaf2;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.vv-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.vv-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.vv-nav-logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #002060;
}
.vv-nav-logo-text span { color: #1155FF; }

.vv-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.vv-nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a4a6a;
  padding: 6px 12px;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.vv-nav-link:hover { color: #1155FF; background: #f0f4ff; }
.vv-nav-link.active { color: #002060; }

.vv-nav-link--hardware {
  color: #1155FF;
  border: 1.5px solid #d0dcff;
  padding: 5px 11px;
  border-radius: 5px;
}
.vv-nav-link--hardware:hover { background: #f0f4ff; }

/* Dropdown */
.vv-nav-dropdown { position: relative; }

.vv-nav-dropdown-toggle {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a4a6a;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.vv-nav-dropdown-toggle:hover { color: #1155FF; background: #f0f4ff; }
.vv-nav-dropdown-toggle svg { width: 12px; height: 12px; transition: transform 0.2s; }
.vv-nav-dropdown:hover .vv-nav-dropdown-toggle svg { transform: rotate(180deg); }

.vv-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid #e8eaf2;
  border-radius: 8px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,32,96,0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s;
  transition-delay: 0.22s;
  z-index: 100;
}
.vv-nav-dropdown:hover .vv-nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
  transition-delay: 0s;
}

/* Bridge gap between toggle and menu so mouse path doesn't break hover */
.vv-nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.vv-nav-dropdown-item {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #4a4a6a;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.12s, color 0.12s;
}
.vv-nav-dropdown-item:hover { background: #f0f4ff; color: #002060; }

.vv-nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Mobile nav */
.vv-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.vv-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #002060;
  border-radius: 2px;
  transition: all 0.25s;
}

.vv-mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #e8eaf2;
  padding: 16px 24px 24px;
  gap: 4px;
}
.vv-mobile-menu.open { display: flex; }
.vv-mobile-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a4a6a;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f8;
}
.vv-mobile-link:last-child { border-bottom: none; }
.vv-mobile-link--blue { color: #1155FF; }
.vv-mobile-cta {
  margin-top: 12px;
  display: inline-block;
  background: #002060;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
}

/* ---- FOOTER ---- */
#vv-footer {
  background: #001540;
  color: rgba(255,255,255,0.75);
}

.vv-footer-top {
  padding: 60px 0 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.vv-footer-logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 12px;
}
.vv-footer-logo-text span { color: #1155FF; }

.vv-footer-tagline {
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
  line-height: 1.6;
}

.vv-footer-reg {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

.vv-footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}

.vv-footer-col a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  padding: 4px 0;
  transition: color 0.15s;
}
.vv-footer-col a:hover { color: #1155FF; }

.vv-footer-contact p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.vv-footer-contact a { color: rgba(255,255,255,0.65); }
.vv-footer-contact a:hover { color: #1155FF; }

.vv-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.vv-footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.vv-footer-bottom-links {
  display: flex;
  gap: 20px;
}
.vv-footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.15s;
}
.vv-footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

.vv-footer-credit {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}
.vv-footer-credit a { color: rgba(255,255,255,0.35); }
.vv-footer-credit a:hover { color: rgba(255,255,255,0.6); }

/* ---- CARDS ---- */
.vv-card {
  background: #fff;
  border: 1px solid #e8eaf2;
  border-radius: 10px;
  padding: 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.vv-card:hover { box-shadow: 0 6px 24px rgba(0,32,96,0.08); border-color: #c8d4ff; }

.vv-card--accent {
  border-top: 3px solid #1155FF;
}

/* Left-border signature element */
.vv-border-item {
  border-left: 3px solid #1155FF;
  padding-left: 18px;
  margin-bottom: 20px;
}
.vv-border-item:last-child { margin-bottom: 0; }

/* ---- GRID HELPERS ---- */
.vv-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.vv-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.vv-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }

/* ---- FAB ---- */
.vv-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
}

.vv-fab-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1155FF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(17,85,255,0.35);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  border: none;
}
.vv-fab-btn:hover { transform: scale(1.07); background: #0d44d6; }
.vv-fab-btn svg { width: 24px; height: 24px; fill: #fff; }

.vv-fab-bubble {
  position: absolute;
  bottom: 66px;
  right: 0;
  background: #fff;
  border: 1px solid #e8eaf2;
  border-radius: 12px 12px 2px 12px;
  padding: 16px;
  width: 260px;
  box-shadow: 0 8px 32px rgba(0,32,96,0.12);
  display: none;
  flex-direction: column;
  gap: 8px;
}
.vv-fab-bubble.open { display: flex; }

.vv-fab-bubble-header {
  font-size: 0.78rem;
  font-weight: 700;
  color: #002060;
  margin-bottom: 4px;
}

.vv-fab-option {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #002060;
  background: #f0f4ff;
  border-radius: 6px;
  padding: 9px 12px;
  text-align: left;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
}
.vv-fab-option:hover { background: #e0eaff; }

/* ---- FORM ---- */
.vv-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.vv-form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4a4a6a;
}

.vv-form-group input,
.vv-form-group select,
.vv-form-group textarea {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: #1a1a2e;
  background: #fff;
  border: 1.5px solid #dde1f0;
  border-radius: 6px;
  padding: 11px 14px;
  transition: border-color 0.15s;
  width: 100%;
}
.vv-form-group input:focus,
.vv-form-group select:focus,
.vv-form-group textarea:focus {
  outline: none;
  border-color: #1155FF;
}
.vv-form-group textarea { resize: vertical; min-height: 100px; }

.vv-form-required { color: #1155FF; }

/* ---- UTILITIES ---- */
.vv-text-center { text-align: center; }
.vv-text-white { color: #fff; }
.vv-text-blue { color: #1155FF; }
.vv-text-navy { color: #002060; }
.vv-mb-0 { margin-bottom: 0; }
.vv-mb-8 { margin-bottom: 8px; }
.vv-mb-16 { margin-bottom: 16px; }
.vv-mb-24 { margin-bottom: 24px; }
.vv-mb-40 { margin-bottom: 40px; }
.vv-mb-48 { margin-bottom: 48px; }
.vv-mt-8 { margin-top: 8px; }
.vv-mt-16 { margin-top: 16px; }
.vv-mt-24 { margin-top: 24px; }
.vv-mt-40 { margin-top: 40px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .vv-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .vv-nav-links, .vv-nav-cta { display: none; }
  .vv-hamburger { display: flex; }
  .vv-footer-top { grid-template-columns: 1fr 1fr; }
  .vv-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .vv-section { padding: 56px 0; }
}

@media (max-width: 600px) {
  .vv-grid-2, .vv-grid-3, .vv-grid-4 { grid-template-columns: 1fr; }
  .vv-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .vv-footer-bottom { flex-direction: column; align-items: flex-start; }
  .vv-container { padding: 0 18px; }
  .vv-section { padding: 44px 0; }
}
