/* ── SOWI Premium Navbar Override ── */

/* Hide original header completely */
#sowi-header-original {
  display: none !important;
}

/* Hide original top info bar (opening hours/contact strip) permanently,
   before JS even runs, so it never flashes on page navigation */
div.bg-sowi-dark.text-white {
  display: none !important;
}

/* ── Smooth page transition (fades #root content on route change) ── */
#root {
  transition: opacity 0.22s ease;
}
#root.sowi-page-fading {
  opacity: 0;
}

/* ── "Powered by Vocalx" footer badge ── */
#sowi-powered-by {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 14px 0 18px;
  background: #0f1f5c;
}
#sowi-powered-by a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}
#sowi-powered-by a:hover {
  color: rgba(255, 255, 255, 0.9);
}
#sowi-powered-by a span {
  color: #c9a227;
  font-weight: 600;
}

/* ── Main Navbar (no topbar) ── */
#sowi-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9997;
  height: 80px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.3s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease,
              height 0.3s ease;
  will-change: background;
}
#sowi-navbar.scrolled {
  height: 68px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.06);
  border-bottom-color: rgba(0,0,0,0.08);
}
.sowi-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* ── Logo ── */
.sowi-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.sowi-logo-img-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15,31,92,0.15);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.sowi-logo:hover .sowi-logo-img-wrap {
  box-shadow: 0 4px 16px rgba(15,31,92,0.25);
  transform: translateY(-1px);
}
.sowi-logo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sowi-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sowi-logo-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #0f1f5c;
  line-height: 1;
}
.sowi-logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
  line-height: 1;
}

/* ── Nav Links ── */
.sowi-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 1023px) {
  .sowi-nav-links { display: none; }
}
.sowi-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.sowi-nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #0f1f5c;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.sowi-nav-link:hover {
  color: #0f1f5c;
  background: rgba(15,31,92,0.04);
}
.sowi-nav-link:hover::after {
  transform: scaleX(1);
}
.sowi-nav-link.active {
  color: #0f1f5c;
  font-weight: 600;
}
.sowi-nav-link.active::after {
  transform: scaleX(1);
  background: #c9a227;
}

/* ── Right Actions ── */
.sowi-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ── CTA Button ── */
.sowi-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0f1f5c;
  background: transparent;
  border: 1.5px solid rgba(15,31,92,0.35);
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.18s ease;
}
.sowi-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #0f1f5c;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.sowi-cta:hover {
  color: #fff;
  border-color: #0f1f5c;
  transform: translateY(-1px);
}
.sowi-cta:hover::before {
  transform: scaleX(1);
}
.sowi-cta:active {
  transform: translateY(0);
}
.sowi-cta span,
.sowi-cta-icon {
  position: relative;
  z-index: 1;
}
.sowi-cta-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.sowi-cta:hover .sowi-cta-icon {
  transform: translateX(2px);
}

/* ── Hamburger ── */
.sowi-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
@media (max-width: 1023px) {
  .sowi-hamburger { display: flex; }
}
.sowi-hamburger:hover {
  background: rgba(15,31,92,0.04);
  border-color: rgba(0,0,0,0.14);
}
.sowi-hamburger-line {
  width: 18px;
  height: 1.5px;
  background: #374151;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              width 0.3s ease;
  transform-origin: center;
}
.sowi-hamburger.open .sowi-hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.sowi-hamburger.open .sowi-hamburger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.sowi-hamburger.open .sowi-hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile Menu Overlay ── */
#sowi-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9996;
  pointer-events: none;
}
#sowi-mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
#sowi-mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 90vw);
  background: #fff;
  box-shadow: -8px 0 48px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#sowi-mobile-menu.open {
  pointer-events: auto;
}
#sowi-mobile-menu.open #sowi-mobile-menu-backdrop {
  opacity: 1;
}
#sowi-mobile-menu.open #sowi-mobile-menu-panel {
  transform: translateX(0);
}
.sowi-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  flex-shrink: 0;
}
.sowi-mobile-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  background: transparent;
  cursor: pointer;
  color: #6b7280;
  font-size: 16px;
  transition: background 0.2s;
}
.sowi-mobile-close:hover {
  background: #f3f4f6;
}
.sowi-mobile-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}
.sowi-mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.sowi-mobile-link:hover {
  color: #0f1f5c;
  background: rgba(15,31,92,0.04);
}
.sowi-mobile-link.active {
  color: #0f1f5c;
  font-weight: 600;
  border-left-color: #c9a227;
  background: rgba(15,31,92,0.03);
}
.sowi-mobile-link-num {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #d1d5db;
  letter-spacing: 0.06em;
  min-width: 20px;
}
.sowi-mobile-footer {
  padding: 24px;
  border-top: 1px solid rgba(0,0,0,0.07);
  flex-shrink: 0;
}
.sowi-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #0f1f5c;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-bottom: 16px;
}
.sowi-mobile-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.sowi-mobile-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sowi-mobile-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: #6b7280;
}
.sowi-mobile-info-item svg {
  color: #9ca3af;
  flex-shrink: 0;
}

/* ── Nav item wrapper (needed for dropdown positioning) ── */
.sowi-nav-item {
  position: relative;
  list-style: none;
}
.sowi-nav-chevron {
  display: inline-block;
  margin-left: 3px;
  vertical-align: middle;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

/* ── Dropdown ── */
.sowi-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.04),
    0 12px 40px rgba(0,0,0,0.12),
    0 0 0 1px rgba(0,0,0,0.05);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition:
    opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
}
.sowi-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: #fff;
}
.sowi-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.sowi-dropdown-inner {
  padding: 6px;
  overflow: hidden;
  border-radius: 16px;
}
.sowi-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 8px;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
}
.sowi-dropdown-all {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #0f1f5c;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.sowi-dropdown-all:hover { opacity: 1; }
.sowi-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sowi-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
  cursor: pointer;
}
.sowi-dropdown-item:hover {
  background: rgba(15, 31, 92, 0.05);
}
.sowi-dropdown-item:hover .sowi-dropdown-icon {
  background: #0f1f5c;
  color: #fff;
}
.sowi-dropdown-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(15,31,92,0.06);
  color: #0f1f5c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.sowi-dropdown-text {
  flex: 1;
  min-width: 0;
}
.sowi-dropdown-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.2;
}
.sowi-dropdown-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.3;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Mobile sub-links ── */
.sowi-mobile-sublabel {
  padding: 14px 24px 6px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d1d5db;
}
.sowi-mobile-sublink {
  display: flex;
  align-items: center;
  padding: 10px 24px 10px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.sowi-mobile-sublink:hover {
  color: #0f1f5c;
  background: rgba(15,31,92,0.03);
}

/* ── Page offset ── */
body.sowi-nav-ready {
  padding-top: 80px;
}

/* ── Slide-in on load ── */
@keyframes sowiNavSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
#sowi-navbar {
  animation: sowiNavSlideIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ════════════════════════════════════════
   NEW FEATURES SECTION
   ════════════════════════════════════════ */
#sowi-features-new {
  padding: 96px 0;
  background: #fff;
  position: relative;
}
#sowi-features-new::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #f5f7fb 0%, #ffffff 60%);
  pointer-events: none;
}
.sfn-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}
.sfn-header {
  text-align: center;
  margin-bottom: 64px;
}
.sfn-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 14px;
}
.sfn-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0d1b4b;
  line-height: 1.15;
  margin: 0;
}
.sfn-title em {
  font-style: normal;
  color: #1a3fa0;
}
.sfn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .sfn-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
.sfn-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 20px;
  padding: 36px 32px 40px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.sfn-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a3fa0, #c9a227);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  border-radius: 20px 20px 0 0;
}
.sfn-card:hover {
  box-shadow: 0 12px 48px rgba(15,31,92,0.1);
  border-color: rgba(15,31,92,0.12);
  transform: translateY(-4px);
}
.sfn-card:hover::after {
  transform: scaleX(1);
}
.sfn-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.sfn-card:nth-child(1) .sfn-icon-wrap { background: rgba(26,63,160,0.08); color: #1a3fa0; }
.sfn-card:nth-child(2) .sfn-icon-wrap { background: rgba(201,162,39,0.10); color: #b8920e; }
.sfn-card:nth-child(3) .sfn-icon-wrap { background: rgba(16,127,87,0.08); color: #107f57; }
.sfn-num {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #d1d5db;
  margin-bottom: 10px;
}
.sfn-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0d1b4b;
  margin: 0 0 12px 0;
  line-height: 1.25;
}
.sfn-body {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.65;
  color: #6b7280;
  margin: 0;
}

/* ════════════════════════════════════════
   UNIFIED BUTTON DESIGN SYSTEM
   Normalizes all React/Tailwind buttons to
   one consistent shape, color & motion spec
   ════════════════════════════════════════ */

/*
  Design tokens
  ─────────────
  Gold primary   #c9a227 → hover #b8920e  (main CTAs)
  Blue solid     #0f1f5c → hover #1a2d6e  (form / mobile / inline)
  Ghost dark bg  white/10 border white/25  (on dark sections)
  Subtle         #eef0f8 → hover #e0e4f2   (secondary)
  Radius         12px everywhere
  Hover motion   translateY(-1.5px) + shadow lift
  Transition     0.22s cubic-bezier(0.4, 0, 0.2, 1)
*/

/* ── 1. Gold Primary ─────────────────────────────────────── */
#root a[class*="bg-sowi-gold"],
#root button[class*="bg-sowi-gold"] {
  background: #c9a227 !important;
  color: #0f1f5c !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 2px 10px rgba(201,162,39,0.28), 0 1px 3px rgba(0,0,0,0.10) !important;
  border: none !important;
  transition: background 0.22s cubic-bezier(0.4,0,0.2,1),
              color 0.22s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.22s cubic-bezier(0.4,0,0.2,1),
              transform 0.18s cubic-bezier(0.4,0,0.2,1),
              opacity 0.22s ease !important;
}
#root a[class*="bg-sowi-gold"]:hover,
#root button[class*="bg-sowi-gold"]:hover {
  background: #b8920e !important;
  color: #0f1f5c !important;
  box-shadow: 0 8px 24px rgba(201,162,39,0.42), 0 2px 6px rgba(0,0,0,0.10) !important;
  transform: translateY(-1.5px) !important;
  opacity: 1 !important;
}
#root a[class*="bg-sowi-gold"]:active,
#root button[class*="bg-sowi-gold"]:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(201,162,39,0.28) !important;
}

/* ── 2. Blue Solid (bg-primary on interactive elements) ───── */
#root a[class*="bg-primary"],
#root button[class*="bg-primary"]:not([class*="rounded-3xl"]) {
  background: #0f1f5c !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 2px 10px rgba(15,31,92,0.25), 0 1px 3px rgba(0,0,0,0.10) !important;
  border: none !important;
  transition: background 0.22s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.22s cubic-bezier(0.4,0,0.2,1),
              transform 0.18s cubic-bezier(0.4,0,0.2,1),
              opacity 0.22s ease !important;
}
#root a[class*="bg-primary"]:hover,
#root button[class*="bg-primary"]:not([class*="rounded-3xl"]):hover {
  background: #1a2d6e !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(15,31,92,0.35), 0 2px 6px rgba(0,0,0,0.10) !important;
  transform: translateY(-1.5px) !important;
  opacity: 1 !important;
}
#root a[class*="bg-primary"]:active,
#root button[class*="bg-primary"]:not([class*="rounded-3xl"]):active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(15,31,92,0.25) !important;
}

/* ── 3. Inline-style Blue (JS adds .sowi-btn-blue) ─────────── */
a.sowi-btn-blue {
  background: #0f1f5c !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  box-shadow: 0 2px 10px rgba(15,31,92,0.25) !important;
  border: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.18s ease !important;
}
a.sowi-btn-blue:hover {
  background: #1a2d6e !important;
  box-shadow: 0 8px 24px rgba(15,31,92,0.35) !important;
  transform: translateY(-1.5px) !important;
  color: #ffffff !important;
}
a.sowi-btn-blue:active {
  transform: translateY(0) !important;
}

/* ── 4. Ghost on Dark Background ────────────────────────── */
#root a[class*="bg-white/10"],
#root button[class*="bg-white/10"],
#root a[class*="border-white/25"],
#root button[class*="border-white/25"] {
  background: rgba(255,255,255,0.10) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255,255,255,0.28) !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 0.01em !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.22s cubic-bezier(0.4,0,0.2,1),
              border-color 0.22s cubic-bezier(0.4,0,0.2,1),
              transform 0.18s cubic-bezier(0.4,0,0.2,1),
              opacity 0.22s ease !important;
}
#root a[class*="bg-white/10"]:hover,
#root button[class*="bg-white/10"]:hover,
#root a[class*="border-white/25"]:hover,
#root button[class*="border-white/25"]:hover {
  background: rgba(255,255,255,0.20) !important;
  border-color: rgba(255,255,255,0.45) !important;
  transform: translateY(-1.5px) !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

/* ── 5. Subtle / Gray Secondary ──────────────────────────── */
#root a[class*="bg-gray-100"],
#root button[class*="bg-gray-100"] {
  background: #eef0f8 !important;
  color: #374151 !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 0.01em !important;
  border: 1px solid rgba(15,31,92,0.07) !important;
  box-shadow: none !important;
  transition: background 0.22s cubic-bezier(0.4,0,0.2,1),
              color 0.22s cubic-bezier(0.4,0,0.2,1),
              border-color 0.22s cubic-bezier(0.4,0,0.2,1),
              transform 0.18s cubic-bezier(0.4,0,0.2,1),
              opacity 0.22s ease !important;
}
#root a[class*="bg-gray-100"]:hover,
#root button[class*="bg-gray-100"]:hover {
  background: #e0e4f2 !important;
  color: #0f1f5c !important;
  transform: translateY(-1px) !important;
  border-color: rgba(15,31,92,0.14) !important;
  opacity: 1 !important;
}

/* ── 6. Tab / Filter Buttons (active + inactive) ──────────── */
/* Active tab: bg-primary text-white */
#root button[class*="bg-primary"][class*="text-white"][class*="shadow"] {
  background: #0f1f5c !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(15,31,92,0.22) !important;
}
/* Inactive tab: bg-gray-100 text-gray-600 */
#root button[class*="bg-gray-100"][class*="text-gray"] {
  background: #f0f2f8 !important;
  color: #4b5563 !important;
  border-radius: 10px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}
#root button[class*="bg-gray-100"][class*="text-gray"]:hover {
  background: #e0e4f2 !important;
  color: #0f1f5c !important;
}

/* ── 7. Full-width Submit Button ─────────────────────────── */
/* Already covered by rule 2 (bg-primary); no extra rule needed. */

/* ── Service card arrow — always visible, no white-on-white flash ── */
#root div[class*="group"][class*="cursor-pointer"] div[class*="rounded-full"][class*="border-gray-200"] {
  background: #f3f4f6 !important;
  border-color: #d1d5db !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}
#root div[class*="group"][class*="cursor-pointer"] div[class*="rounded-full"][class*="border-gray-200"] svg {
  color: #6b7280 !important;
  transition: color 0.2s ease !important;
}
#root div[class*="group"][class*="cursor-pointer"]:hover div[class*="rounded-full"][class*="border-gray-200"] {
  background: #0f1f5c !important;
  border-color: #0f1f5c !important;
}
#root div[class*="group"][class*="cursor-pointer"]:hover div[class*="rounded-full"][class*="border-gray-200"] svg {
  color: #ffffff !important;
}

/* ── Suppress default Tailwind hover:opacity-90 artifacts ── */
#root a[class*="hover:opacity-90"]:hover,
#root button[class*="hover:opacity-90"]:hover {
  opacity: 1 !important;
}

/* ── Mobile CTA (in our navbar) — unify with blue system ─── */
.sowi-mobile-cta {
  background: #0f1f5c !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(15,31,92,0.25) !important;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease !important;
}
.sowi-mobile-cta:hover {
  background: #1a2d6e !important;
  box-shadow: 0 8px 24px rgba(15,31,92,0.35) !important;
  transform: translateY(-1.5px) !important;
  opacity: 1 !important;
}

/* ══════════════════════════════════════════════════
   UNIFIED FONT COLORS
   Two colours only on light sections:
     #0f1f5c  — SOWI navy  (headings, bold labels)
     #374151  — slate-700  (body text, descriptions)
   White text on dark backgrounds is preserved via
   the .text-white / dark-bg selectors below.
   ══════════════════════════════════════════════════ */

/* — Headings: near-black → SOWI navy — */
#root h1.text-gray-900,
#root h2.text-gray-900,
#root h3.text-gray-900,
#root h4.text-gray-900,
#root h5.text-gray-900,
#root h6.text-gray-900,
#root [class*="font-black"].text-gray-900,
#root [class*="font-bold"].text-gray-900,
#root [class*="font-display"].text-gray-900 {
  color: #0f1f5c !important;
}

/* — Body / description text: unify grays — */
#root p.text-gray-600,
#root p.text-gray-700,
#root p.text-gray-800,
#root li.text-gray-600,
#root li.text-gray-700,
#root span.text-gray-700,
#root div.text-gray-700 {
  color: #374151 !important;
}

/* — Semibold labels and card titles that use gray-900 — */
#root div.font-semibold.text-gray-900,
#root span.font-semibold.text-gray-900,
#root div[class*="font-bold"].text-gray-900 {
  color: #0f1f5c !important;
}

/* — Preserve white text on dark/hero backgrounds — */
#root .text-white,
#root [class*="bg-sowi-dark"] *,
#root [class*="bg-gray-900"] *,
#root [class*="bg-slate-900"] *,
#root [class*="bg-primary"] *,
#root section[class*="dark"] *,
/* hero overlays typically use relative/absolute dark bg child */
#root [style*="background:#0f1f5c"] *,
#root [style*="background: #0f1f5c"] * {
  /* intentionally no override — let bundle styles win */
}
