/**
 * =====================================================================
 * AMRO INSURANCE BROKERS LIMITED – OFFICIAL FRONTEND DESIGN SYSTEM
 * =====================================================================
 * Color Palette: Deep Navy (#002B49), Clean White, Warm Gold (#D4AF37),
 * Slate Gray Scales (#0F172A to #F8FAFC).
 * Modern, Spacious, Responsive, Accessible.
 * =====================================================================
 */

:root {
  --amro-navy: #002B49;
  --amro-navy-dark: #001A2D;
  --amro-navy-light: #0A3D63;
  --amro-gold: #D4AF37;
  --amro-gold-hover: #B89628;
  --amro-gold-light: #FDF9EE;
  
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --border-color: #E2E8F0;
  
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.09), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* =====================================================================
   TYPOGRAPHY
   ===================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--amro-navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }

p { margin-bottom: 1rem; }
p.lead { font-size: 1.15rem; line-height: 1.7; color: var(--slate-600); }

a {
  color: var(--amro-navy);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--amro-gold-hover); }

/* =====================================================================
   LAYOUT CONTAINERS & GRIDS
   ===================================================================== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 768px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1320px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
    padding-left: 36px;
    padding-right: 36px;
  }
}

/* Large TV & 4K Ultra-wide Displays */
@media (min-width: 1800px) {
  .container {
    max-width: 1620px;
    padding-left: 48px;
    padding-right: 48px;
  }
}

.container-narrow {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 64px 0;
}
.section-sm { padding: 40px 0; }
.section-lg { padding: 88px 0; }

.section-bg-slate { background-color: var(--slate-50); }
.section-bg-navy { background-color: var(--amro-navy); color: #ffffff; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 14px; }
  .section { padding: 36px 0 !important; }
  .section-lg { padding: 44px 0 !important; }
}

/* =====================================================================
   TOP BAR & NAVIGATION HEADER
   ===================================================================== */
.top-bar, .site-topbar {
  background-color: var(--amro-navy-dark);
  color: #cbd5e1;
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-content, .topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar-left, .topbar-left,
.top-bar-right, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.top-bar-item, .topbar-link {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.8125rem;
}
.top-bar-item a, .topbar-link a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}
.top-bar-item a:hover, .topbar-link a:hover {
  color: var(--amro-gold);
}
.top-bar-badge {
  background: rgba(212, 175, 55, 0.18);
  color: var(--amro-gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Main Site Header */
.site-header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 43, 73, 0.08);
  border-bottom: 1px solid var(--border-color);
}
.header-container, .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  gap: 20px;
}

/* Brand Identity */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--amro-navy) 0%, #001f35 100%);
  color: var(--amro-gold);
  font-weight: 900;
  font-size: 1.15rem;
  border-radius: 8px;
  border: 2px solid var(--amro-gold);
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0, 43, 73, 0.2);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--amro-navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-transform: uppercase;
}
.brand-sub, .brand-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amro-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Primary Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--amro-navy);
  background-color: var(--slate-100);
}
.has-dropdown > .nav-link svg {
  transition: transform 0.2s ease;
}
.has-dropdown:hover > .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 43, 73, 0.12);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1050;
}
.nav-item:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  font-size: 0.875rem;
  color: var(--slate-700);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.dropdown-link:hover, .dropdown-link.active {
  background-color: rgba(212, 175, 55, 0.12);
  color: var(--amro-navy);
  padding-left: 22px;
}
.dropdown-nested {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 43, 73, 0.12);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.2s ease;
}
.dropdown-item:hover > .dropdown-nested {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Header Actions & Search Form */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #f8fafc;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header-search-form:focus-within {
  border-color: var(--amro-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
.header-search-input {
  border: none;
  background: transparent;
  padding: 7px 12px;
  font-size: 0.84rem;
  color: var(--slate-800);
  width: 150px;
  outline: none;
}
.header-search-btn {
  background: transparent;
  border: none;
  color: var(--slate-500);
  padding: 7px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.header-search-btn:hover {
  color: var(--amro-navy);
}
.header-cta {
  white-space: nowrap;
}

/* Mobile Toggle */
.mobile-toggle, .mobile-nav-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px 10px;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
}
.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--amro-navy);
  border-radius: 2px;
}
@media (max-width: 1024px) {
  .main-nav, .header-search-form {
    display: none !important;
  }
  .mobile-toggle, .mobile-nav-toggle {
    display: flex !important;
  }
  .hide-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .header-container, .header-inner {
    height: 64px !important;
    gap: 8px !important;
  }
  .header-actions {
    gap: 8px !important;
  }
  .header-cta {
    display: none !important;
  }
  .theme-toggle-btn {
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 6px !important;
    gap: 0 !important;
  }
  .theme-toggle-btn .theme-mode-indicator {
    display: none !important;
  }
  .mobile-toggle, .mobile-nav-toggle {
    width: 38px !important;
    height: 36px !important;
    padding: 6px 8px !important;
    flex-shrink: 0 !important;
  }
}

[data-theme="dark"] .mobile-toggle,
[data-theme="dark"] .mobile-nav-toggle {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}
[data-theme="dark"] .mobile-toggle .hamburger-bar,
[data-theme="dark"] .mobile-nav-toggle .hamburger-bar {
  background-color: #ffffff !important;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #ffffff;
  z-index: 1100;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.drawer-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  background: var(--amro-navy);
  color: #ffffff;
}
.drawer-brand {
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--amro-gold);
}
.drawer-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.mobile-search-form {
  margin-bottom: 16px;
}
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav-item {
  border-bottom: 1px solid var(--slate-100);
}
.mobile-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--slate-800);
  text-decoration: none;
  font-size: 0.95rem;
}
.mobile-submenu-toggle {
  background: #f1f5f9;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  color: var(--amro-navy);
}
.mobile-submenu {
  list-style: none;
  padding: 4px 0 10px 16px;
  margin: 0;
}
.mobile-sub-link {
  display: block;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--slate-600);
  text-decoration: none;
}
.drawer-contact-box {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--slate-600);
}
.drawer-contact-box p {
  margin-bottom: 8px;
}
.drawer-contact-box a {
  color: var(--amro-navy);
  text-decoration: none;
  font-weight: 600;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 26, 45, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--amro-navy);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--amro-navy-light);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-gold {
  background-color: var(--amro-gold);
  color: #001A2D;
}
.btn-gold:hover {
  background-color: var(--amro-gold-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background-color: transparent;
  border-color: var(--slate-300);
  color: var(--slate-700);
}
.btn-outline:hover {
  border-color: var(--amro-navy);
  color: var(--amro-navy);
  background-color: var(--slate-50);
}
.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}
.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--amro-navy);
  border-color: #ffffff;
}
.btn-sm {
  padding: 7px 14px;
  font-size: 0.8125rem;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* =====================================================================
   BREADCRUMBS
   ===================================================================== */
.breadcrumb-bar {
  background-color: var(--slate-100);
  padding: 12px 0;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--border-color);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-500);
}
.breadcrumb-item a { color: var(--slate-600); }
.breadcrumb-item a:hover { color: var(--amro-navy); }
.breadcrumb-item.active { color: var(--amro-navy); font-weight: 600; }
.breadcrumb-separator { color: var(--slate-400); }

/* =====================================================================
   HERO BANNER COMPONENTS (Homepage & Interior Pages)
   ===================================================================== */
.hero-section {
  background: linear-gradient(135deg, #001A2D 0%, #002B49 60%, #003B64 100%);
  color: #ffffff;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-container {
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 840px;
}
.badge-gold {
  background-color: rgba(212, 175, 55, 0.2);
  color: var(--amro-gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-block;
  border-radius: 9999px;
}
.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.25rem;
}
.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 740px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust-bar {
  display: flex;
  gap: 32px;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .hero-section { padding: 50px 0 60px; }
  .hero-title { font-size: 2rem; }
  .hero-lead { font-size: 1rem; }
  .hero-trust-bar { gap: 16px; flex-direction: column; }
}

.page-hero {
  background: linear-gradient(135deg, var(--amro-navy-dark) 0%, var(--amro-navy) 60%, var(--amro-navy-light) 100%);
  color: #ffffff;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 35%;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-title {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.page-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  line-height: 1.6;
}
.badge-category {
  display: inline-block;
  background-color: rgba(212, 175, 55, 0.2);
  color: var(--amro-gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

/* =====================================================================
   FEATURE & CATEGORY CARDS
   ===================================================================== */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 43, 73, 0.08);
  border-color: var(--amro-gold);
}
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--amro-navy);
}
.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amro-navy);
  margin-bottom: 12px;
}
.feature-text {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin: 0;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 43, 73, 0.08);
  border-color: var(--amro-navy);
}
.category-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.category-badge {
  align-self: flex-start;
  margin-bottom: 12px;
}
.category-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--amro-navy);
  margin-bottom: 10px;
}
.category-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}
.category-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--amro-gold-hover);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}
.category-link:hover {
  color: var(--amro-navy);
  gap: 8px;
}

/* =====================================================================
   CARDS (Products, Services, Articles, Partners)
   ===================================================================== */
.amro-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.amro-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amro-gold);
}
.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-cat-pill {
  display: inline-block;
  background-color: rgba(0, 43, 73, 0.06);
  color: var(--amro-navy);
  border: 1px solid rgba(0, 43, 73, 0.12);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.product-title, .product-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amro-navy);
  margin-bottom: 8px;
  line-height: 1.25;
}
.product-title a, .product-card-title a {
  color: var(--amro-navy);
  text-decoration: none;
  transition: color 0.2s;
}
.product-title a:hover, .product-card-title a:hover {
  color: var(--amro-gold);
}
.product-summary, .product-card-desc {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}
.product-card-footer {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amro-navy);
}
.service-icon, .service-icon-box {
  width: 52px;
  height: 52px;
  background-color: rgba(212, 175, 55, 0.12);
  color: var(--amro-navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--amro-navy);
  margin-bottom: 10px;
}
.service-title a {
  color: var(--amro-navy);
  text-decoration: none;
  transition: color 0.2s;
}
.service-title a:hover {
  color: var(--amro-gold);
}
.service-summary {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}
.service-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--amro-gold-hover);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
  margin-top: auto;
}
.service-link:hover {
  color: var(--amro-navy);
  gap: 8px;
}

/* Partner Logo Grid & Cards */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 2rem 0;
}
.logo-item, .partner-logo-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.logo-item:hover, .partner-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 43, 73, 0.08);
  border-color: var(--amro-gold);
}
.logo-fallback-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--amro-navy);
  line-height: 1.35;
  text-align: center;
}
.partner-logo-img {
  max-width: 130px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(15%);
  transition: var(--transition);
}
.partner-logo-card:hover .partner-logo-img {
  filter: grayscale(0%);
}

.btn-outline-primary {
  background-color: transparent;
  border: 1px solid var(--amro-navy);
  color: var(--amro-navy);
}
.btn-outline-primary:hover {
  background-color: var(--amro-navy);
  color: #ffffff;
}

/* =====================================================================
   CALL TO ACTION BANNER
   ===================================================================== */
.cta-banner, .cta-banner-card {
  background: linear-gradient(135deg, var(--amro-navy) 0%, var(--amro-navy-dark) 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: 0 20px 40px rgba(0, 43, 73, 0.15);
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-section {
  padding: 64px 0;
}
.cta-title {
  color: #ffffff;
  font-size: clamp(1.85rem, 2.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.cta-subtitle, .cta-description {
  color: var(--slate-300);
  font-size: 1.1rem;
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* =====================================================================
   FORMS & CONTROLS
   ===================================================================== */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 6px;
}
.form-label .required {
  color: #dc2626;
  margin-left: 2px;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--slate-800);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--amro-navy);
  box-shadow: 0 0 0 3px rgba(0, 43, 73, 0.12);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Alerts */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.alert-success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.alert-error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* =====================================================================
   TABLES
   ===================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}
.amro-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}
.amro-table th {
  background-color: var(--slate-100);
  color: var(--amro-navy);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-color);
}
.amro-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--slate-700);
}
.amro-table tr:hover td {
  background-color: var(--slate-50);
}

/* =====================================================================
   DYNAMIC FOOTER
   ===================================================================== */
.site-footer {
  background-color: var(--amro-navy-dark);
  color: var(--slate-300);
  padding: 64px 0 0;
  margin-top: auto;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--slate-300);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--amro-gold);
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--slate-300);
}
.footer-contact-item a { color: inherit; }
.footer-contact-item a:hover { color: var(--amro-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--slate-400);
}
.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: #ffffff; }

/* Global search highlight */
mark.highlight {
  background-color: #fef08a;
  color: #854d0e;
  padding: 1px 3px;
  border-radius: 2px;
}

/* =====================================================================
   STAGE 7C – PREMIUM UX/UI ENHANCEMENTS & COMPONENT STYLING
   ===================================================================== */

/* Section Headers & Badges */
.section-header {
  margin-bottom: 40px;
}
.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-title {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  color: var(--amro-navy);
  margin: 12px 0 14px;
  letter-spacing: -0.015em;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 0;
}
.badge-primary {
  display: inline-block;
  background: rgba(0, 43, 73, 0.08);
  color: var(--amro-navy);
  border: 1px solid rgba(0, 43, 73, 0.15);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* 2-Column Hero Grid & Visual Card */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-visual-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
}
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.2);
  color: #D4AF37;
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.hero-card-stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-card-stat-box:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.hero-card-stat-val {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}
.hero-card-stat-lbl {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.hero-hotline-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-hotline-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #D4AF37;
  color: #001A2D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-hotline-label {
  font-size: 0.75rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.hero-hotline-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}
.hero-hotline-num a {
  color: #ffffff;
  text-decoration: none;
}
.hero-hotline-num a:hover {
  color: #D4AF37;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Trust Metrics Section */
.trust-metrics-section {
  margin-top: -45px;
  position: relative;
  z-index: 10;
  padding-bottom: 20px;
}
.trust-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.metric-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 43, 73, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 43, 73, 0.1);
  border-color: var(--amro-gold);
}
.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.metric-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--amro-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.metric-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--amro-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.metric-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 6px;
}
.metric-desc {
  font-size: 0.825rem;
  color: var(--slate-500);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 1024px) {
  .trust-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .trust-metrics-section {
    margin-top: 12px;
    padding-bottom: 12px;
  }
  .trust-metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .metric-card {
    padding: 14px 10px !important;
    border-radius: 12px !important;
  }
  .metric-header {
    margin-bottom: 8px !important;
  }
  .metric-icon-box {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
  }
  .metric-icon-box svg {
    width: 18px !important;
    height: 18px !important;
  }
  .metric-value {
    font-size: 1.5rem !important;
    margin-bottom: 2px !important;
  }
  .metric-label {
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0 !important;
  }
  .metric-desc {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .feature-card, .solution-card, .product-card-modern, .service-card-modern {
    padding: 18px 16px !important;
    border-radius: 12px !important;
  }
  .section-header {
    margin-bottom: 24px !important;
  }
  .section-title {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }
  .section-lead {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  .hero-section {
    padding: 32px 0 24px !important;
  }
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
  .hero-lead {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }
  .hero-visual-card {
    margin-top: 24px !important;
    padding: 18px !important;
    border-radius: 14px !important;
  }
  .hero-card-stats {
    gap: 8px !important;
    margin-bottom: 14px !important;
  }
  .hero-card-stat-box {
    padding: 10px 8px !important;
  }
  .hero-card-stat-val {
    font-size: 1.25rem !important;
  }
  .hero-card-stat-lbl {
    font-size: 0.7rem !important;
  }
}

/* Claims Support & Process Steps */
.claims-process-section {
  background-color: var(--slate-50);
  padding: 80px 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2.5rem;
  position: relative;
}
.process-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 43, 73, 0.09);
  border-color: var(--amro-navy);
}
.process-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.process-step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amro-navy);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 43, 73, 0.05);
  color: var(--amro-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--amro-navy);
  margin-bottom: 10px;
}
.process-text {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin: 0;
}
.claims-action-bar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 32px;
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 43, 73, 0.04);
  flex-wrap: wrap;
  gap: 20px;
}
.claims-action-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.claims-phone-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  color: var(--amro-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.claims-phone-label {
  font-size: 0.78rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.claims-phone-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--amro-navy);
}
.claims-phone-val a {
  color: var(--amro-navy);
  text-decoration: none;
}
.claims-phone-val a:hover {
  color: var(--amro-gold);
}
.claims-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 991px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .claims-action-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Company Heritage Section */
.heritage-section {
  padding: 80px 0;
  background: #ffffff;
}
.heritage-card {
  background: linear-gradient(135deg, var(--amro-navy) 0%, var(--amro-navy-dark) 100%);
  border-radius: 20px;
  padding: 48px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 43, 73, 0.15);
}
.heritage-content h2 {
  color: #ffffff;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  margin-bottom: 16px;
}
.heritage-content p {
  color: var(--slate-300);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.heritage-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.heritage-stat-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.heritage-stat-box:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}
.heritage-stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--amro-gold);
  line-height: 1.1;
  margin-bottom: 4px;
}
.heritage-stat-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 600;
}
@media (max-width: 991px) {
  .heritage-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

/* =====================================================================
   STAGE 7C.1 – BRAND EXPERIENCE, THEME ENGINE & USER PREFERENCES
   ===================================================================== */

/* Accessibility & Focus Visibility */
:focus-visible {
  outline: 2px solid var(--amro-gold) !important;
  outline-offset: 3px !important;
}
.sr-only,
.sr-only:focus {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Dynamic Logo Management */
.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}
[data-theme="light"] .brand-logo-dark {
  display: none !important;
}
[data-theme="light"] .brand-logo-light {
  display: block !important;
}
[data-theme="dark"] .brand-logo-light {
  display: none !important;
}
[data-theme="dark"] .brand-logo-dark {
  display: block !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  min-width: 40px;
  height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: #FBBF24;
  transition: all 0.2s ease;
  position: relative;
  flex-shrink: 0;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
}
.theme-toggle-btn:hover {
  border-color: var(--amro-gold);
  color: var(--amro-gold);
  background: rgba(212, 175, 55, 0.16);
}
[data-theme="light"] .theme-icon-light {
  display: block;
  color: #FBBF24;
}
[data-theme="light"] .theme-icon-dark {
  display: none;
}
[data-theme="dark"] .theme-icon-light {
  display: none;
}
[data-theme="dark"] .theme-icon-dark {
  display: block;
  color: #38BDF8;
}
.theme-mode-indicator {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(234, 160, 35, 0.18);
  color: #EAA023;
  line-height: 1;
}

.drawer-theme-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
}
.drawer-theme-row .theme-toggle-btn {
  width: auto;
  padding: 6px 12px;
  gap: 8px;
}

/* =====================================================================
   DARK THEME PALETTE TOKENS & OVERRIDES
   ===================================================================== */
[data-theme="dark"] {
  --amro-navy: #38BDF8;
  --amro-navy-dark: #030712;
  --amro-navy-light: #60A5FA;
  --amro-gold: #FBBF24;
  --amro-gold-hover: #F59E0B;
  --amro-gold-light: rgba(251, 191, 36, 0.12);

  --slate-900: #F8FAFC;
  --slate-800: #F1F5F9;
  --slate-700: #E2E8F0;
  --slate-600: #CBD5E1;
  --slate-500: #94A3B8;
  --slate-400: #64748B;
  --slate-300: #475569;
  --slate-200: #334155;
  --slate-100: #1E293B;
  --slate-50:  #0F172A;

  --bg-primary: #0A1122;
  --bg-secondary: #0F172A;
  --border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] html,
[data-theme="dark"] body {
  background-color: var(--bg-primary);
  color: var(--slate-700);
}

[data-theme="dark"] .site-header {
  background-color: #0B132B;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .brand-name {
  color: #ffffff;
}
[data-theme="dark"] .nav-link {
  color: var(--slate-700);
}
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .dropdown-nested {
  background: #111C38;
  border-color: var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .dropdown-link {
  color: var(--slate-600);
}
[data-theme="dark"] .dropdown-link:hover {
  background-color: rgba(251, 191, 36, 0.15);
  color: #ffffff;
}
[data-theme="dark"] .header-search-form {
  background: #111C38;
  border-color: var(--border-color);
}
[data-theme="dark"] .header-search-input {
  color: #ffffff;
}
[data-theme="dark"] .mobile-drawer {
  background: #0B132B;
  color: #ffffff;
}
[data-theme="dark"] .mobile-nav-link {
  color: var(--slate-700);
}
[data-theme="dark"] .mobile-nav-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Dark Mode Cards */
[data-theme="dark"] .metric-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .category-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .process-card,
[data-theme="dark"] .logo-item,
[data-theme="dark"] .claims-action-bar,
[data-theme="dark"] .amro-card {
  background: #111C38;
  border-color: var(--border-color);
}
[data-theme="dark"] .metric-card:hover,
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .category-card:hover,
[data-theme="dark"] .product-card:hover,
[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .process-card:hover {
  border-color: var(--amro-gold);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .section-title,
[data-theme="dark"] .feature-title,
[data-theme="dark"] .category-title,
[data-theme="dark"] .product-title,
[data-theme="dark"] .product-title a,
[data-theme="dark"] .service-title,
[data-theme="dark"] .service-title a,
[data-theme="dark"] .process-title,
[data-theme="dark"] .metric-value,
[data-theme="dark"] .metric-label,
[data-theme="dark"] .logo-fallback-text,
[data-theme="dark"] .claims-phone-val a {
  color: #ffffff;
}
[data-theme="dark"] .section-bg-slate {
  background-color: #070D1E;
}
[data-theme="dark"] .section-lead,
[data-theme="dark"] .feature-text,
[data-theme="dark"] .category-desc,
[data-theme="dark"] .product-summary,
[data-theme="dark"] .service-summary,
[data-theme="dark"] .process-text,
[data-theme="dark"] .metric-desc {
  color: #94A3B8;
}
[data-theme="dark"] .badge-primary {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.25);
}
[data-theme="dark"] .product-cat-pill {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.25);
}
[data-theme="dark"] .feature-icon,
[data-theme="dark"] .metric-icon-box {
  background: rgba(251, 191, 36, 0.12);
  color: #FBBF24;
}
[data-theme="dark"] .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
[data-theme="dark"] .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}
[data-theme="dark"] .btn-outline-primary {
  border-color: #38BDF8;
  color: #38BDF8;
}
[data-theme="dark"] .btn-outline-primary:hover {
  background-color: #38BDF8;
  color: #0A1122;
}
[data-theme="dark"] .form-control {
  background-color: #111C38;
  border-color: var(--border-color);
  color: #ffffff;
}
[data-theme="dark"] .form-label {
  color: var(--slate-600);
}
[data-theme="dark"] .breadcrumb-bar {
  background-color: #0B132B;
  border-bottom-color: var(--border-color);
}
[data-theme="dark"] .breadcrumb-item.active {
  color: #ffffff;
}

/* =====================================================================
   STICKY CONTACT EXPERIENCE (Desktop Dock & Mobile FAB)
   ===================================================================== */
.desktop-sticky-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 950;
  display: flex;
  align-items: center;
  background: #002B49;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 9999px;
  padding: 6px 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  gap: 4px;
  backdrop-filter: blur(8px);
}
[data-theme="dark"] .desktop-sticky-contact {
  background: #111C38;
  border-color: rgba(251, 191, 36, 0.4);
}
.sticky-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.sticky-contact-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--amro-gold);
  transform: translateY(-1px);
}
.sticky-contact-btn.btn-cta {
  background: var(--amro-gold);
  color: #001A2D;
}
.sticky-contact-btn.btn-cta:hover {
  background: var(--amro-gold-hover);
  color: #ffffff;
}
@media (max-width: 991px) {
  .desktop-sticky-contact {
    display: none !important;
  }
}

/* Mobile Floating Action Button (FAB) */
.mobile-fab-contact {
  display: none;
}
@media (max-width: 991px) {
  .mobile-fab-contact {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 960;
  }
  .fab-trigger-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #002B49;
    border: 2px solid var(--amro-gold);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
  }
  .fab-trigger-btn:hover {
    transform: scale(1.05);
  }
  .fab-menu {
    position: absolute;
    bottom: 68px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 165px;
  }
  .mobile-fab-contact.active .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .fab-item-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #002B49;
    padding: 10px 16px;
    border-radius: 9999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
  }
  [data-theme="dark"] .fab-item-btn {
    background: #111C38;
    color: #ffffff;
    border: 1px solid var(--border-color);
  }
  .fab-item-btn:hover {
    transform: translateX(-4px);
  }
}

/* =====================================================================
   COOKIE CONSENT BANNER & PREFERENCE CENTER
   ===================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #001A2D;
  color: #ffffff;
  padding: 18px 24px;
  z-index: 1200;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-content {
  max-width: 720px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #CBD5E1;
}
.cookie-banner-content a {
  color: var(--amro-gold);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Cookie Preference Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 15, 30, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: #ffffff;
  border-radius: 16px;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
[data-theme="dark"] .cookie-modal {
  background: #0B132B;
  color: #ffffff;
}
.cookie-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #002B49;
  margin: 0;
}
[data-theme="dark"] .cookie-modal-title {
  color: #ffffff;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--slate-500);
  cursor: pointer;
}
.cookie-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.6;
}
.cookie-category-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  background: #F8FAFC;
}
[data-theme="dark"] .cookie-category-item {
  background: #111C38;
}
.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.cookie-category-name {
  font-weight: 700;
  font-size: 0.95rem;
}
.cookie-category-desc {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0;
}
.cookie-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #F8FAFC;
}
[data-theme="dark"] .cookie-modal-footer {
  background: #0B132B;
}

/* =====================================================================
   UNDERWRITER PARTNER LOGO SLIDER (Stage 7C.1 Multi-Theme)
   ===================================================================== */
.underwriter-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 0 54px;
  margin: 1.5rem 0;
}

.underwriter-slider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.slider-track-window {
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  position: relative;
  border-radius: 16px;
  scrollbar-width: none;
}
.slider-track-window::-webkit-scrollbar {
  display: none;
}

.slider-track {
  display: flex;
  gap: 20px;
  align-items: center;
  width: max-content;
  padding: 10px 4px;
}

.slider-slide {
  flex: 0 0 auto;
  width: 200px;
}

.slider-logo-card {
  height: 96px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
}
.slider-logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--amro-gold, #EAA023);
  box-shadow: 0 8px 24px rgba(7, 29, 54, 0.1);
}

.slider-logo-img {
  max-height: 58px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.05));
  transition: filter 0.2s ease, transform 0.2s ease;
}
.slider-logo-card:hover .slider-logo-img {
  transform: scale(1.04);
}

.slider-logo-text {
  text-align: center;
}
.slider-logo-sub {
  font-size: 0.75rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #071D36;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.slider-arrow:hover {
  background: var(--amro-gold, #EAA023);
  color: #071527;
  border-color: var(--amro-gold, #EAA023);
  transform: translateY(-50%) scale(1.08);
}
.slider-arrow-prev {
  left: 0;
}
.slider-arrow-next {
  right: 0;
}

/* Dark Theme Overrides for Slider */
[data-theme="dark"] .slider-logo-card {
  background: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .slider-logo-card:hover {
  border-color: var(--amro-gold, #EAA023);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .slider-arrow {
  background: #0E1B2E;
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .slider-arrow:hover {
  background: var(--amro-gold, #EAA023);
  color: #071527;
  border-color: var(--amro-gold, #EAA023);
}

@media (max-width: 768px) {
  .underwriter-slider-wrapper {
    padding: 0 38px;
  }
  .slider-arrow {
    width: 36px;
    height: 36px;
  }
  .slider-slide {
    width: 160px;
  }
  .slider-logo-card {
    height: 80px;
    padding: 10px 14px;
  }
  .slider-logo-img {
    max-height: 48px;
  }
}

/* =====================================================================
   HIGH-CONTRAST DARK THEME REFINEMENTS & LEGIBILITY ENHANCEMENTS
   ===================================================================== */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--text-heading, #FFFFFF) !important;
}

[data-theme="dark"] body {
  background-color: var(--bg-body, #07111E);
  color: var(--text-body, #CBD5E1);
}

[data-theme="dark"] p {
  color: var(--text-body, #CBD5E1);
}

[data-theme="dark"] .contact-panel-title,
[data-theme="dark"] .contact-item-title,
[data-theme="dark"] .contact-form-title,
[data-theme="dark"] .about-title,
[data-theme="dark"] .service-detail-title,
[data-theme="dark"] .product-detail-title {
  color: #FFFFFF !important;
}

[data-theme="dark"] .contact-item-text,
[data-theme="dark"] .contact-form-lead {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .contact-item-link {
  color: var(--amro-gold, #EAA023) !important;
  font-weight: 600;
}
[data-theme="dark"] .contact-item-link:hover {
  color: #FFFFFF !important;
  text-decoration: underline;
}

[data-theme="dark"] .site-footer {
  background-color: var(--bg-footer, #050B14);
  color: #CBD5E1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .footer-heading {
  color: #FFFFFF !important;
}

[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-contact-list a {
  color: #CBD5E1;
}
[data-theme="dark"] .footer-links a:hover,
[data-theme="dark"] .footer-contact-list a:hover {
  color: var(--amro-gold, #EAA023);
}

[data-theme="dark"] .footer-tagline,
[data-theme="dark"] .footer-bio,
[data-theme="dark"] .footer-bottom {
  color: #94A3B8;
}

[data-theme="dark"] .claims-phone-val a {
  color: #FFFFFF !important;
}

/* Defensive contrast elevations: prevent dark blue on dark backgrounds */
[data-theme="dark"] [style*="color: #002B49"],
[data-theme="dark"] [style*="color:#002B49"],
[data-theme="dark"] [style*="color: #071D36"],
[data-theme="dark"] [style*="color:#071D36"] {
  color: #FFFFFF !important;
}

[data-theme="dark"] [style*="color: #334155"],
[data-theme="dark"] [style*="color:#334155"],
[data-theme="dark"] [style*="color: #475569"],
[data-theme="dark"] [style*="color:#475569"] {
  color: #CBD5E1 !important;
}


