/* ===================================================================
   PORTAL MAIOR LOCADORA & MAIOR SEMINOVOS (GRUPO MAIOR)
   Design System & Styling
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand Colors */
  --navy-darkest: #07111e;
  --navy-dark: #0c1a2f;
  --navy-base: #112544;
  --navy-light: #1b355e;
  --navy-border: #223f6d;

  --blue-primary: #0284c7;
  --blue-hover: #0369a1;
  --blue-light: #e0f2fe;
  --blue-glow: rgba(2, 132, 199, 0.35);

  --amber-primary: #f59e0b;
  --amber-hover: #d97706;
  --amber-light: #fef3c7;
  --amber-dark: #b45309;

  --emerald-primary: #10b981;
  --emerald-light: #d1fae5;
  --rose-primary: #ef4444;

  /* Neutrals */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-alt: #f1f5f9;
  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevations */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 22px 35px -8px rgba(17, 37, 68, 0.12), 0 12px 16px -8px rgba(17, 37, 68, 0.06);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-darkest);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================================================
   TOPBAR & HEADER
   =================================================================== */
.topbar {
  background-color: var(--navy-darkest);
  color: #94a3b8;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-badge {
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.76rem;
}
.topbar-link {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-link:hover {
  color: #ffffff;
}

/* Header Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand-logo-main {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.brand-divider {
  width: 1px;
  height: 32px;
  background-color: var(--border-strong);
}
.brand-partner {
  display: flex;
  flex-direction: column;
}
.brand-partner-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.brand-partner-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-base);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-base);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--blue-primary);
  background: var(--blue-light);
}
.nav-link.active-seminovos {
  color: var(--amber-dark);
  background: var(--amber-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy-base);
  cursor: pointer;
  padding: 4px;
}

/* ===================================================================
   BUTTONS & BADGES
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-primary), var(--navy-light));
  color: #ffffff;
  box-shadow: 0 4px 14px var(--blue-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}
.btn-accent {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45);
}
.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  color: #ffffff;
}
.btn-outline {
  background: transparent;
  color: var(--navy-base);
  border: 2px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  background: var(--blue-light);
}
.btn-white {
  background: #ffffff;
  color: var(--navy-base);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}
.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge-blue {
  background: var(--blue-light);
  color: var(--blue-primary);
}
.badge-amber {
  background: var(--amber-light);
  color: var(--amber-dark);
}
.badge-green {
  background: var(--emerald-light);
  color: var(--emerald-primary);
}
.badge-dark {
  background: var(--navy-base);
  color: #ffffff;
}

/* ===================================================================
   HERO SECTION (HOME)
   =================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #1e3a66 0%, #0c1a2f 60%, #07111e 100%);
  color: #ffffff;
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(2, 132, 199, 0.4);
  color: #7dd3fc;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-title span.highlight-locadora {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title span.highlight-seminovos {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 580px;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

/* Quick Search Card inside Hero */
.hero-widget-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  color: var(--text-main);
  position: relative;
}
.widget-tabs {
  display: flex;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 5px;
  margin-bottom: 24px;
}
.widget-tab {
  flex: 1;
  padding: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.widget-tab.active {
  background: #ffffff;
  color: var(--navy-base);
  box-shadow: var(--shadow-sm);
}
.widget-tab.active.locadora {
  color: var(--blue-primary);
}
.widget-tab.active.seminovos {
  color: var(--amber-dark);
}
.widget-pane {
  display: none;
}
.widget-pane.active {
  display: block;
}

/* Form controls */
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 6px;
  color: var(--navy-base);
}
.form-control, .form-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background-color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: border-color var(--transition-fast);
}
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px var(--blue-light);
}

/* ===================================================================
   STATS BAR
   =================================================================== */
.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 30px 0;
  box-shadow: var(--shadow-sm);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 15px;
}
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.stat-icon.blue { background: var(--blue-light); color: var(--blue-primary); }
.stat-icon.amber { background: var(--amber-light); color: var(--amber-dark); }
.stat-icon.navy { background: var(--navy-light); color: #ffffff; }
.stat-icon.emerald { background: var(--emerald-light); color: var(--emerald-primary); }
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-base);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ===================================================================
   SECTION COMMONS
   =================================================================== */
.section {
  padding: 80px 0;
}
.section-alt {
  background-color: var(--bg-alt);
}
.section-dark {
  background-color: var(--navy-darkest);
  color: #ffffff;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue-primary);
  margin-bottom: 8px;
}
.section-tag.amber {
  color: var(--amber-dark);
}
.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}
.section-dark .section-desc {
  color: #94a3b8;
}

/* ===================================================================
   CARDS: FROTA & SEMINOVOS
   =================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* Card Frota */
.vehicle-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}
.vehicle-card:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: var(--shadow-card-hover);
}
.vehicle-img-wrap {
  position: relative;
  height: 210px;
  background: #f1f5f9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vehicle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.vehicle-card:hover .vehicle-img {
  transform: scale(1.05);
}
.vehicle-badge-category {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}
.vehicle-badge-location {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
}
.vehicle-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.vehicle-brand {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue-primary);
  margin-bottom: 4px;
}
.vehicle-brand.seminovos {
  color: var(--amber-dark);
}
.vehicle-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--navy-darkest);
}
.vehicle-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Feature tags inside card */
.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
}
.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}
.spec-item i {
  font-size: 1rem;
  color: var(--navy-base);
  margin-bottom: 4px;
}

/* Card Pricing & Footer */
.vehicle-pricing {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.price-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}
.price-value {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-darkest);
  line-height: 1.1;
}
.price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* ===================================================================
   FILTERS BAR
   =================================================================== */
.filters-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 35px;
}
.filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) auto;
  gap: 14px;
  align-items: flex-end;
}

/* ===================================================================
   TERCEIRIZADOS (B2B) HIGHLIGHT SECTION
   =================================================================== */
.b2b-banner {
  background: linear-gradient(135deg, #07111e 0%, #112544 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.b2b-banner-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.b2b-banner h2 {
  color: #ffffff;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.b2b-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.b2b-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.b2b-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.25);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.b2b-calculator-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
}

/* ===================================================================
   UNIDADES & MAPA
   =================================================================== */
.unidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.unidade-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}
.unidade-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-primary);
}
.unidade-city {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-base);
  margin-bottom: 8px;
}
.unidade-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.unidade-detail i {
  color: var(--blue-primary);
  margin-top: 4px;
}

/* ===================================================================
   MODAL DIALOGS
   =================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 17, 30, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  position: relative;
  padding: 35px;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.modal-close:hover {
  background: var(--rose-primary);
  color: #ffffff;
}

/* ===================================================================
   FLOATING WHATSAPP
   =================================================================== */
.floating-wpp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-wpp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background-color: var(--navy-darkest);
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--blue-primary);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 15px;
}

/* ===================================================================
   ADMIN SPECIFIC STYLES
   =================================================================== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background-color: #f1f5f9;
}
.admin-sidebar {
  width: 260px;
  background-color: var(--navy-darkest);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-brand {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-brand h2 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
}
.admin-nav {
  padding: 20px 12px;
  flex: 1;
  list-style: none;
}
.admin-nav-item {
  margin-bottom: 4px;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}
.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(2, 132, 199, 0.18);
  color: #38bdf8;
}
.admin-nav-badge {
  margin-left: auto;
  background: var(--rose-primary);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.admin-header {
  background: #ffffff;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  border-bottom: 1px solid var(--border-light);
}
.admin-content {
  padding: 30px;
  flex: 1;
}

/* Admin Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.admin-table th {
  background: var(--bg-alt);
  padding: 14px 18px;
  font-weight: 700;
  color: var(--navy-base);
  border-bottom: 1px solid var(--border-light);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.5px;
}
.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.admin-table tr:hover td {
  background-color: #f8fafc;
}

/* ===================================================================
   RESPONSIVE QUERIES
   =================================================================== */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
  }
  .nav-menu.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .admin-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .b2b-banner {
    padding: 30px 20px;
  }
  .b2b-features-grid {
    grid-template-columns: 1fr;
  }
}
