/* ============================================================
   NEXOWEST DESIGN SYSTEM — NAVY + TEAL
   ============================================================
   Premium logistics UI. Light + Dark mode via CSS variables.
   ============================================================ */

/* ------------------------------------------------------------
   Design Tokens — Light Mode (default)
   ------------------------------------------------------------ */
:root {
  /* Brand — Dark Navy */
  --brand-900: #063B50;
  --brand-800: #063B50;
  --brand-700: #054A63;
  --brand-600: #056074;
  --brand-500: #06768A;
  --brand-400: #119AAE;
  --brand-300: #5CC0CE;
  --brand-200: #A5DDE5;
  --brand-100: #DDEEF2;
  --brand-50:  #F0F8FA;

  /* Primary / Darker Navy */
  --primary:       #063B50;
  --primary-dark:  #032C3D;

  /* Accent — Teal */
  --teal:       #009B8F;
  --teal-dark:  #007C74;
  --teal-light: #E7F7F5;

  --accent-600: #007C74;
  --accent-500: #009B8F;
  --accent-400: #17AEA2;
  --accent-100: #E7F7F5;
  --accent-50:  #F2FBF9;

  /* Neutrals */
  --bg:          #F8FAFC;
  --surface:     #FFFFFF;
  --surface-alt: #F1F5F9;

  --text:           #172B3A;
  --text-secondary: #64748B;
  --text-muted:     #94A3B8;
  --border:         #E5ECEF;

  /* Status */
  --success:      #12A886;
  --success-bg:   #E7F7F5;
  --warning:      #F59E0B;
  --warning-bg:   #FFF4D6;
  --danger:       #DC2626;
  --danger-bg:    #FDE8E8;
  --info:         #009B8F;
  --info-bg:      #E7F7F5;

  /* Typography */
  --font-heading: "Inter", "Archivo", sans-serif;
  --font-body:    "Inter", "Archivo", sans-serif;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(4, 43, 61, 0.04);
  --shadow-md: 0 8px 25px rgba(4, 43, 61, 0.07);
  --shadow-lg: 0 16px 40px rgba(4, 43, 61, 0.12);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

/* ------------------------------------------------------------
   Design Tokens — Dark Mode
   ------------------------------------------------------------ */
[data-theme="dark"] {
  --brand-900: #063B50;
  --brand-800: #032C3D;
  --brand-700: #054A63;
  --brand-600: #06657A;
  --brand-500: #0B7E93;
  --brand-400: #1D9EB2;
  --brand-300: #5CC0CE;
  --brand-200: #A5DDE5;
  --brand-100: #DDEEF2;
  --brand-50:  #F0F8FA;

  --primary:       #063B50;
  --primary-dark:  #032C3D;

  --teal:       #17AEA2;
  --teal-dark:  #009B8F;
  --teal-light: #123634;

  --accent-600: #009B8F;
  --accent-500: #17AEA2;
  --accent-400: #35C4B8;
  --accent-100: #123634;
  --accent-50:  #132E2C;

  --bg:          #0B1B26;
  --surface:     #12222F;
  --surface-alt: #1A2C39;

  --text:           #E2E8F0;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;
  --border:         #1E3444;

  --success:      #22C55E;
  --success-bg:   #122E22;
  --warning:      #F59E0B;
  --warning-bg:   #3A2E12;
  --danger:       #F87171;
  --danger-bg:    #3B1D1D;
  --info:         #17AEA2;
  --info-bg:      #123634;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* ------------------------------------------------------------
   Base
   ------------------------------------------------------------ */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  transition: background-color var(--transition-base), color var(--transition-base);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

a {
  color: var(--teal);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--teal-dark);
}

/* Labels / small uppercase */
.nexowest-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
}

/* ------------------------------------------------------------
   Nexowest Wordmark
   ------------------------------------------------------------ */
.nexowest-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nexowest-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.nexowest-brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nexowest-brand-text span {
  color: var(--teal);
}

/* Logo images (light/dark) */
.nexowest-brand-logo {
  height: 40px;
  width: auto;
  display: inline-block;
}

.nexowest-brand .logo-dark,
.nexowest-brand-logo.logo-dark {
  display: none;
}

[data-theme="dark"] .nexowest-brand .logo-light,
[data-theme="dark"] .nexowest-brand-logo.logo-light {
  display: none;
}

[data-theme="dark"] .nexowest-brand .logo-dark,
[data-theme="dark"] .nexowest-brand-logo.logo-dark {
  display: inline-block;
}

/* ------------------------------------------------------------
   Theme Toggle
   ------------------------------------------------------------ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: inline-block; }

[data-theme="dark"] .theme-toggle .icon-sun { display: inline-block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn-nexowest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-nexowest-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-nexowest-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-nexowest-accent {
  background: var(--teal);
  color: #ffffff;
}

.btn-nexowest-accent:hover {
  background: var(--teal-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-nexowest-outline {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.btn-nexowest-outline:hover {
  background: var(--teal);
  color: #ffffff;
}

.btn-nexowest-ghost {
  background: transparent;
  color: var(--text);
}

.btn-nexowest-ghost:hover {
  background: var(--surface-alt);
}

/* Circular icon CTA */
.btn-nexowest-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-nexowest-play .play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
}

/* ------------------------------------------------------------
   Cards
   ------------------------------------------------------------ */
.nexowest-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.nexowest-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200, #A5DDE5);
  transform: translateY(-3px);
}

/* ------------------------------------------------------------
   Inputs
   ------------------------------------------------------------ */
.nexowest-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.nexowest-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 155, 143, 0.35);
}

.nexowest-input::placeholder {
  color: var(--text-muted);
}

/* ------------------------------------------------------------
   Status Badges
   ------------------------------------------------------------ */
.nexowest-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.nexowest-badge-success { background: var(--success-bg); color: var(--success); }
.nexowest-badge-warning { background: var(--warning-bg); color: #B45309; }
.nexowest-badge-danger  { background: var(--danger-bg);  color: var(--danger); }
.nexowest-badge-info    { background: var(--info-bg);    color: var(--teal-dark); }

/* ------------------------------------------------------------
   Tables
   ------------------------------------------------------------ */
.nexowest-table {
  width: 100%;
  border-collapse: collapse;
}

.nexowest-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border);
  background: var(--surface-alt);
}

.nexowest-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.nexowest-table tbody tr:hover {
  background: var(--surface-alt);
}

/* ------------------------------------------------------------
   Alerts
   ------------------------------------------------------------ */
.nexowest-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 14px;
}

.nexowest-alert-info    { background: var(--info-bg);    color: var(--teal-dark); border-color: var(--teal-200, #A5DDE5); }
.nexowest-alert-success { background: var(--success-bg); color: var(--success);   border-color: var(--success); }
.nexowest-alert-warning { background: var(--warning-bg); color: #B45309;          border-color: var(--warning); }
.nexowest-alert-danger  { background: var(--danger-bg);  color: var(--danger);    border-color: var(--danger); }

/* ------------------------------------------------------------
   Section helpers
   ------------------------------------------------------------ */
.nexowest-section {
  padding: var(--space-7) 0;
}

.nexowest-section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-3);
  color: var(--text);
}

.nexowest-section-title .highlight {
  color: var(--teal);
}

.nexowest-section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 640px;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.nexowest-hero {
  position: relative;
  padding: var(--space-8) 0;
  background:
    linear-gradient(90deg, rgba(3, 43, 61, 0.95) 0%, rgba(3, 61, 80, 0.75) 50%, rgba(3, 61, 80, 0.25) 100%),
    url('../images/warehouse.jpg') center / cover no-repeat;
  color: #ffffff;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.nexowest-hero h1 {
  color: #ffffff;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-4);
}

.nexowest-hero h1 .highlight {
  color: var(--teal-400, #17AEA2);
}

.nexowest-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: var(--space-6);
}

.nexowest-hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}

.nexowest-hero-trusted {
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.nexowest-avatars {
  display: flex;
}

.nexowest-avatars .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--teal-light);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-left: -8px;
}

.nexowest-avatars .avatar:first-child {
  margin-left: 0;
}

/* Tracking widget in hero */
.nexowest-track-widget {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
}

.nexowest-track-widget h3 {
  margin-bottom: var(--space-2);
  font-size: 18px;
}

.nexowest-track-widget p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: var(--space-4);
}

.nexowest-track-form {
  display: flex;
  gap: var(--space-2);
}

.nexowest-track-form .nexowest-input {
  flex: 1;
}

/* ------------------------------------------------------------
   Payment methods — dark navy panel + payment tiles
   ------------------------------------------------------------ */
.nexowest-payments-section {
  background: var(--bg);
}

.nexowest-payments-panel {
  background:
    linear-gradient(150deg, rgba(6, 59, 80, 0.97), rgba(3, 44, 61, 0.98)),
    var(--primary);
  border: 1px solid rgba(0, 155, 143, 0.35);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-5);
  box-shadow: var(--shadow-lg);
}

.nexowest-payments-panel .nexowest-eyebrow {
  color: var(--teal-300, #5CC0CE);
}

.nexowest-payments-panel .nexowest-section-title {
  color: #ffffff;
}

.nexowest-payments-panel .nexowest-section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.nexowest-payments-row {
  gap: 16px;
}

.nexowest-payment-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  min-height: 76px;
}

.nexowest-payment-tile:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(23, 174, 162, 0.65);
  transform: translateY(-2px);
}

.nexowest-payment-tile-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 22px;
}

.nexowest-payment-tile-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
}

/* ------------------------------------------------------------
   Feature / Service cards
   ------------------------------------------------------------ */
.nexowest-feature-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--teal-light);
  color: var(--teal);
  font-size: 22px;
  margin-bottom: var(--space-4);
}

.nexowest-feature-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text);
}

.nexowest-feature-text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   CTA band
   ------------------------------------------------------------ */
.nexowest-cta {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  background:
    linear-gradient(135deg, rgba(3, 43, 61, 0.92), rgba(6, 96, 116, 0.85)),
    var(--primary);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.nexowest-cta h2 {
  color: #ffffff;
  font-size: 32px;
  margin-bottom: var(--space-3);
}

.nexowest-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-5);
}

/* ------------------------------------------------------------
   Dark navy feature band (trust/stats)
   ------------------------------------------------------------ */
.nexowest-dark-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(3, 43, 61, 0.94), rgba(3, 61, 80, 0.82)),
    url('../images/warehouse.jpg') center / cover no-repeat;
  padding: var(--space-7);
  color: #ffffff;
}

.nexowest-stat {
  text-align: center;
  padding: var(--space-4);
}

.nexowest-stat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.nexowest-stat-number {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.nexowest-stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  margin-top: var(--space-1);
}

/* ------------------------------------------------------------
   Process steps
   ------------------------------------------------------------ */
.nexowest-step {
  text-align: center;
  position: relative;
}

.nexowest-step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
}

.nexowest-step-number {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------------------
   Testimonial
   ------------------------------------------------------------ */
.nexowest-testimonial {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(3, 43, 61, 0.96), rgba(6, 96, 116, 0.9)),
    var(--primary);
  color: #ffffff;
  padding: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
}

.nexowest-testimonial img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.nexowest-testimonial h3 {
  color: #ffffff;
  font-size: 28px;
}

.nexowest-testimonial .stars {
  color: #FBBF24;
}

/* ------------------------------------------------------------
   Accordion (FAQ)
   ------------------------------------------------------------ */
.nexowest-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.nexowest-accordion-item {
  border-bottom: 1px solid var(--border);
}

.nexowest-accordion-item:last-child {
  border-bottom: 0;
}

.nexowest-accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-fast);
}

.nexowest-accordion-header:hover {
  color: var(--teal);
}

.nexowest-accordion-header .icon {
  font-size: 16px;
  color: var(--teal);
  transition: transform var(--transition-fast);
}

.nexowest-accordion-header[aria-expanded="true"] .icon {
  transform: rotate(45deg);
}

.nexowest-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.nexowest-accordion-body-inner {
  padding: 0 18px 16px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.nexowest-footer {
  background: #0b0f1a;
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-7) 0 var(--space-5);
  border-top: 1px solid #111827;
}

.nexowest-footer h5 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: var(--space-4);
  font-weight: 600;
}

.nexowest-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.nexowest-footer a:hover {
  color: var(--teal-300, #5CC0CE);
}

.nexowest-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nexowest-footer ul li {
  margin-bottom: var(--space-2);
}

.nexowest-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ------------------------------------------------------------
   Navbar (public)
   ------------------------------------------------------------ */
.nexowest-utility-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-secondary);
}

.nexowest-utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: 6px;
  padding-bottom: 6px;
}

.nexowest-utility-bar a {
  color: var(--text-secondary);
  text-decoration: none;
}

.nexowest-utility-bar a:hover {
  color: var(--teal);
}

.nexowest-utility-bar .utility-items {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.nexowest-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nexowest-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
  min-height: 66px;
}

.nexowest-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nexowest-nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nexowest-nav-links a:hover,
.nexowest-nav-links a.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.nexowest-nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* GTranslate language switcher in the nav */
.nexowest-gtranslate .gtranslate_wrapper {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 575px) {
  .nexowest-gtranslate {
    display: none; /* keep the mobile header clean; language still available via popup if added on demand */
  }
}

.nexowest-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

/* Mobile nav drawer */
@media (max-width: 991px) {
  .nexowest-nav-toggle {
    display: inline-flex;
  }

  .nexowest-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: var(--space-4);
    gap: var(--space-2);
    box-shadow: var(--shadow-md);
  }

  .nexowest-nav-links.open {
    display: flex;
  }

  .nexowest-nav-links a {
    display: block;
    padding: var(--space-3);
    border-bottom: 1px solid var(--border);
  }

  .nexowest-utility-bar .business-hours {
    display: none;
  }
}

/* ------------------------------------------------------------
   Image cards / projects / news / team
   ------------------------------------------------------------ */
.nexowest-image-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.nexowest-image-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.nexowest-image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.nexowest-image-card-body {
  padding: var(--space-4);
}

.nexowest-image-card .category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
}

.nexowest-image-card h3 {
  font-size: 17px;
  margin: var(--space-2) 0 var(--space-1);
}

.nexowest-team-card .photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ------------------------------------------------------------
   Newsletter
   ------------------------------------------------------------ */
.nexowest-newsletter {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(3, 43, 61, 0.94), rgba(6, 96, 116, 0.85)),
    var(--primary);
  padding: var(--space-7);
  color: #ffffff;
}

.nexowest-newsletter h2 {
  color: #ffffff;
}

.nexowest-newsletter p {
  color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------------------
   Tracking stepper
   ------------------------------------------------------------ */
.nexowest-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.nexowest-stepper-step {
  flex: 1;
  min-width: 90px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

.nexowest-stepper-step .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin: 0 auto var(--space-1);
  background: var(--border);
  border: 2px solid var(--surface);
  position: relative;
}

.nexowest-stepper-step.completed .dot {
  background: var(--success);
}

.nexowest-stepper-step.active .dot {
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-light);
}

.nexowest-stepper-step.completed .dot::after {
  content: "✓";
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ------------------------------------------------------------
   Responsive helpers
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  .nexowest-hero h1 { font-size: 34px; }
  .nexowest-section-title { font-size: 26px; }
  .nexowest-cta h2 { font-size: 26px; }
  .nexowest-track-form { flex-direction: column; }
  .nexowest-hero { min-height: auto; padding: var(--space-7) 0; }
  .nexowest-utility-bar .utility-items > span { display: none; }
  .nexowest-utility-bar .utility-items .phone,
  .nexowest-utility-bar .utility-items .email { display: inline-flex; }
}

@media (max-width: 991px) {
  .nexowest-section { padding: var(--space-6) 0; }
}

/* ------------------------------------------------------------
   Accessibility
   ------------------------------------------------------------ */
:focus-visible {
  outline: 3px solid rgba(0, 155, 143, 0.35);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------
   Professional toast notifications
   ------------------------------------------------------------ */
.nexowest-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  pointer-events: none;
}

.nexowest-toast {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #063B50, #0E1626);
  color: #ffffff;
  border: 1px solid rgba(0, 155, 143, 0.35);
  box-shadow: 0 12px 32px rgba(3, 43, 61, 0.35);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  transform: translateX(110%);
  opacity: 0;
  animation: nexowestToastIn .25s ease forwards;
}

/* Branded teal accent bar on the left */
.nexowest-toast::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 12px 0 0 12px;
  background: var(--teal);
}

.nexowest-toast > i {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.nexowest-toast-body {
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
  font-weight: 500;
}

.nexowest-toast-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  flex-shrink: 0;
  transition: color .15s ease, transform .15s ease;
}

.nexowest-toast-close:hover {
  color: #ffffff;
  transform: scale(1.12);
}

.nexowest-toast-success > i { color: #22C55E; }
.nexowest-toast-warning > i { color: #FBBF24; }
.nexowest-toast-error > i   { color: #F87171; }
.nexowest-toast-info > i    { color: #17AEA2; }

.nexowest-toast-leave {
  animation: nexowestToastOut .22s ease forwards;
}

@keyframes nexowestToastIn {
  to { transform: translateX(0); opacity: 1; }
}

@keyframes nexowestToastOut {
  to { transform: translateX(110%); opacity: 0; }
}

@media (max-width: 575px) {
  .nexowest-toast-container {
    top: 14px;
    right: 14px;
    left: 14px;
    max-width: none;
  }
}

/* ------------------------------------------------------------
   Floating WhatsApp widget — green + white, bottom-left
   ------------------------------------------------------------ */
.nexowest-whatsapp {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nexowest-whatsapp:hover {
  background: #1EBE5B;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.nexowest-whatsapp svg {
  display: block;
  flex-shrink: 0;
}

.nexowest-whatsapp-label {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .nexowest-whatsapp {
    left: 14px;
    bottom: 14px;
    padding: 12px 14px;
  }
}

/* ============================================================
   PUBLIC DARK MODE — Bootstrap form/card overrides
   ============================================================ */
[data-theme="dark"] body {
  background-color: #0B1B26 !important;
}

[data-theme="dark"] .card,
[data-theme="dark"] .nexowest-card {
  background-color: #12222F !important;
  border-color: #1E3444 !important;
}

[data-theme="dark"] .card-body {
  background-color: transparent !important;
}

/* Forms (contact / quote / newsletter) */
[data-theme="dark"] .form-control {
  background-color: #12222F !important;
  border-color: #1E3444 !important;
  color: #E2E8F0 !important;
}

[data-theme="dark"] .form-control:focus {
  background-color: #12222F !important;
  border-color: #17AEA2 !important;
  color: #E2E8F0 !important;
  box-shadow: 0 0 0 3px rgba(0, 155, 143, 0.25) !important;
}

[data-theme="dark"] .form-control::placeholder {
  color: #64748B !important;
}

[data-theme="dark"] .form-group label,
[data-theme="dark"] label {
  color: #94A3B8 !important;
}

[data-theme="dark"] textarea.form-control,
[data-theme="dark"] select.form-control {
  background-color: #12222F !important;
  color: #E2E8F0 !important;
  border-color: #1E3444 !important;
}

[data-theme="dark"] select option {
  background-color: #12222F !important;
  color: #E2E8F0 !important;
}

/* Text helpers */
[data-theme="dark"] .text-muted {
  color: #94A3B8 !important;
}

[data-theme="dark"] .text-white {
  color: #fff !important;
}

[data-theme="dark"] .breadcrumb {
  background-color: transparent !important;
}

[data-theme="dark"] .breadcrumb-item.active,
[data-theme="dark"] .breadcrumb-item a {
  color: #94A3B8 !important;
}

/* ============================================================
   QUANTUM-STYLE POLISH (layout/structure adopted from reference)
   ============================================================ */

/* Gradient CTA (Quantum-style pill) */
.btn-nexowest-grad {
  background: linear-gradient(145deg, var(--teal), var(--primary));
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 25px rgba(3, 91, 130, 0.25);
}

.btn-nexowest-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(3, 91, 130, 0.35);
  color: #fff;
}

/* Featured split section (About → Featured) */
.nexowest-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.nexowest-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.nexowest-featured-grid .nexowest-image-card {
  height: 100%;
}

.nexowest-featured-grid .nexowest-image-card img {
  height: 200px;
}

.nexowest-featured-stats {
  background: linear-gradient(145deg, var(--primary), #0b0f1a);
  color: #fff;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  margin-top: var(--space-4);
}

.nexowest-featured-stats .stat-number {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
}

.nexowest-featured-stats .stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

/* Light testimonial cards (Quantum-style) */
.nexowest-testimonial-grid .nexowest-card {
  text-align: center;
}

.nexowest-testimonial-grid .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto var(--space-3);
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.nexowest-testimonial-grid .stars {
  color: #fbbf24;
  letter-spacing: 2px;
  margin-bottom: var(--space-2);
}

/* Very dark navy premium testimonial section */
.nexowest-testimonials-dark {
  background: #0B0F1A;
}

.nexowest-testimonials-dark .nexowest-section-title {
  color: #ffffff;
}

.nexowest-testimonials-dark .nexowest-section-subtitle {
  color: rgba(151, 171, 196, 0.9);
}

.nexowest-testimonial-pill {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: rgba(23, 174, 162, 0.12);
  border: 1px solid rgba(23, 174, 162, 0.35);
  color: var(--teal-300, #5CC0CE);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.nexowest-testimonial-grid-dark .nexowest-testimonial-card {
  background: #12222F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s ease, transform .2s ease;
}

.nexowest-testimonial-grid-dark .nexowest-testimonial-card:hover {
  border-color: rgba(23, 174, 162, 0.55);
  transform: translateY(-3px);
}

.nexowest-testimonial-card .stars {
  color: #FBBF24;
  font-size: 18px;
  letter-spacing: 3px;
}

.nexowest-testimonial-quote {
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  flex: 1 1 auto;
}

.nexowest-testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.nexowest-testimonial-person .avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #17AEA2;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
}

.nexowest-testimonial-name {
  display: block;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
}

.nexowest-testimonial-role {
  display: block;
  color: rgba(151, 171, 196, 0.85);
  font-size: 13px;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .nexowest-testimonial-grid-dark .nexowest-testimonial-card {
    margin-bottom: 16px;
  }
}

/* Service cards — 6-card Quantum layout */
.nexowest-services .nexowest-card {
  text-align: left;
  position: relative;
  overflow: hidden;
}

.nexowest-services .nexowest-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--teal-light);
  opacity: 0.5;
}

.nexowest-services .nexowest-feature-icon {
  width: 50px;
  height: 50px;
  font-size: 20px;
}

/* Stats band — Quantum spacing */
.nexowest-stats-band {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11, 15, 26, 0.92), rgba(3, 61, 80, 0.85)),
    url('../images/warehouse.jpg') center / cover no-repeat;
  padding: var(--space-7);
  color: #fff;
}

/* Responsive for featured + testimonials */
@media (max-width: 991px) {
  .nexowest-featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .nexowest-featured-grid {
    grid-template-columns: 1fr;
  }
}
