:root {
  --primary: #1565C0;
  --primary-dark: #0A2E5C;
  --primary-deeper: #071E3D;
  --primary-mid: #1976D2;
  --primary-light: #E3EEFA;
  --primary-glow: rgba(21, 101, 192, 0.18);
  --accent: #2196F3;
  --white: #ffffff;
  --text: #0B1D33;
  --text-soft: #344F69;
  --line: #C5D8EC;
  --success: #1B8E5F;
  --warning: #F59F00;
  --danger: #D62828;
  --gradient-hero: linear-gradient(135deg, #071E3D 0%, #0A2E5C 40%, #1565C0 100%);
  --gradient-section: linear-gradient(180deg, #F0F6FD 0%, #FFFFFF 100%);
  --gradient-dark-section: linear-gradient(180deg, #0B1D33 0%, #0F2B4A 100%);
  --shadow-card: 0 8px 32px rgba(10, 46, 92, 0.10);
  --shadow-card-hover: 0 20px 48px rgba(10, 46, 92, 0.18);
  --shadow-btn: 0 6px 20px rgba(21, 101, 192, 0.30);
  --radius: 16px;
  --radius-sm: 10px;
}

body[data-theme="dark"] {
  --text: #E6F0FF;
  --text-soft: #A8BEDA;
  --line: #2B3E58;
  --white: #0F1C2E;
  --primary-light: #14263C;
  --shadow-card: 0 8px 30px rgba(2, 7, 16, 0.45);
  --shadow-card-hover: 0 16px 40px rgba(2, 7, 16, 0.58);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, sans-serif;
  color: var(--text);
  background: #F5F9FF;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body[data-theme="dark"] {
  background: #08111f;
  color: var(--text);
}

a, button { transition: all 0.25s cubic-bezier(.4,0,.2,1); }

img { max-width: 100%; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.top-nav .container {
  width: min(1360px, 96%);
}

/* ─── NAV ─── */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 30, 61, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px) saturate(1.6);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  flex-wrap: nowrap;
}

.brand {
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: #f4f9ff;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.brand-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

nav {
  display: flex;
  gap: 0.05rem;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-width: 0;
}

nav::-webkit-scrollbar { display: none; }

nav a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0.38rem;
  border-radius: 8px;
  white-space: nowrap;
}

nav a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
}

nav a.active {
  color: #ffffff;
  background: rgba(70,145,230,0.22);
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

nav a:hover::after { width: 60%; }
nav a.active::after { width: 70%; }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
}

.hamburger:hover { background: rgba(255,255,255,0.1); }

.nav-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

#open-auth {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.58rem 0.95rem;
  font-size: 0.86rem;
}

.theme-toggle,
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-option,
.lang-option {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-option.active,
.lang-option.active {
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.hamburger svg { width: 26px; height: 26px; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?q=80&w=2000&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: luminosity;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 30, 61, 0.95) 0%, rgba(10, 46, 92, 0.80) 50%, rgba(21, 101, 192, 0.60) 100%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-floating {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  color: white;
}

.hero-floating-1 {
  width: 180px;
  height: 180px;
  right: 8%;
  top: 15%;
  animation: floatSlow 12s ease-in-out infinite;
}

.hero-floating-2 {
  width: 120px;
  height: 120px;
  left: 5%;
  bottom: 18%;
  animation: floatSlow 10s ease-in-out infinite 2s;
}

.hero-floating-3 {
  width: 90px;
  height: 90px;
  right: 25%;
  bottom: 10%;
  animation: floatSlow 14s ease-in-out infinite 4s;
}

.hero-aurora {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  animation: pulseFloat 8s ease-in-out infinite;
}

.hero-aurora-left {
  width: 400px;
  height: 400px;
  left: -5%;
  top: 5%;
  background: radial-gradient(circle at center, #1565C0, transparent 70%);
}

.hero-aurora-right {
  width: 500px;
  height: 500px;
  right: -8%;
  bottom: -5%;
  background: radial-gradient(circle at center, #0D47A1, transparent 70%);
  animation-delay: 2s;
}

.hero-content {
  position: relative;
  color: var(--white);
  padding: 3rem 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  letter-spacing: 0.2px;
}

.hero-kicker-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  max-width: 720px;
  letter-spacing: -0.5px;
}

.hero-h1-accent {
  background: linear-gradient(135deg, #64B5F6, #42A5F5, #2196F3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero > .container p {
  max-width: 580px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-stats {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 680px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
}

.hero-stat-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 7px;
  border-radius: 10px;
  background: rgba(33, 150, 243, 0.20);
  color: #64B5F6;
}

.hero-stat-text span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.hero-stat-text b {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

/* ─── WAVE DIVIDERS ─── */
.wave-divider {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -2px;
}

.wave-divider-flip {
  transform: scaleY(-1);
  margin-top: -2px;
  margin-bottom: 0;
}

/* ─── SECTIONS ─── */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section.light {
  background: var(--primary-light);
}

.section-dark {
  background: var(--gradient-dark-section);
  color: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.section-dark .section-head h2 { color: var(--white); }
.section-dark .section-head p { color: rgba(255,255,255,0.70); }

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.section-icon-header {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.section-icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.section-dark .section-icon {
  background: rgba(255,255,255,0.12);
  color: var(--accent);
}

/* ─── GRIDS ─── */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 1.25rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.lift-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.25s ease;
}

.lift-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: #90CAF9;
}

.lift-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.35), transparent 42%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.lift-card:hover::after { transform: translateX(120%); }

.card-icon-top {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 14px;
  margin-bottom: 0.85rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 6px 18px var(--primary-glow);
}

.section-dark .card-icon-top {
  background: rgba(33, 150, 243, 0.15);
  color: var(--accent);
  box-shadow: none;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.card p { line-height: 1.6; }

/* ─── FLEET CARDS ─── */
.fleet-card {
  text-align: center;
  padding: 2rem 1.4rem;
  border-top: 3px solid var(--primary);
}

.fleet-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  padding: 14px;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary);
  transition: all 0.3s ease;
}

.fleet-card:hover .fleet-card-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.fleet-card h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.fleet-card .fleet-specs {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.fleet-spec {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.fleet-spec-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--primary);
}

/* ─── SERVICES CARDS ─── */
.service-card {
  padding: 1.8rem 1.4rem;
  border-left: 4px solid var(--primary);
}

.section-dark .service-card {
  background: rgba(255,255,255,0.04);
  border-color: var(--accent);
}

/* ─── COVERAGE ─── */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.coverage-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 500;
  transition: all 0.25s ease;
}

.coverage-item:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateX(4px);
}

.coverage-item:hover .coverage-dot { background: var(--white); }

.coverage-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--primary);
  transition: background 0.25s ease;
}

.coverage-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--primary);
}

.coverage-item:hover .coverage-icon { color: var(--white); }

/* ─── HIERARCHY ─── */
.hierarchy-section {
  background: var(--gradient-section);
}

.hierarchy-grid { align-items: stretch; }

.hierarchy-card {
  background: linear-gradient(165deg, #ffffff 0%, #f0f6fd 80%);
  border-color: #B9D9F6;
  transform-style: preserve-3d;
  will-change: transform;
  text-align: center;
  padding: 1.6rem 1.2rem;
}

.avatar-oval {
  width: 110px;
  height: 140px;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  padding: 3px;
  background: linear-gradient(165deg, var(--accent), var(--primary-dark));
  box-shadow: 0 12px 28px rgba(10, 46, 92, 0.20);
}

.avatar-oval img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid var(--white);
}

.photo-note {
  display: block;
  margin-bottom: 0.45rem;
  color: #5a7d9b;
  font-size: 0.72rem;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(21, 101, 192, 0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(21, 101, 192, 0.15);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.hierarchy-card h3 {
  margin: 0 0 0.4rem;
  color: var(--primary-dark);
}

.hierarchy-card p {
  margin: 0;
  color: var(--text-soft);
}

/* ─── TRUSTED ─── */
.section-trusted {
  background: var(--gradient-section);
}

.logo-marquee {
  margin: 1.2rem 0 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.logo-track {
  width: max-content;
  display: flex;
  gap: 0.8rem;
  padding: 0.6rem;
  animation: marquee 22s linear infinite;
}

.logo-pill {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--primary-light);
  border: 1px solid var(--line);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.trusted-grid { margin-top: 0.5rem; }

.mini-metric {
  text-align: center;
  padding: 1.5rem 1rem;
}

.mini-metric-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.5rem;
  padding: 8px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
}

.mini-metric h3 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -1px;
}

.mini-metric p {
  margin: 0.3rem 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* ─── TESTIMONIALS ─── */
.testimonial-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.4rem;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  right: 1rem;
  top: -0.8rem;
  font-size: 6rem;
  color: rgba(21, 101, 192, 0.08);
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.65rem;
}

.testimonial-star {
  width: 18px;
  height: 18px;
  color: #F59F00;
}

.quote {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  font-style: italic;
}

.testimonial-meta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.testimonial-meta-text {
  display: grid;
  gap: 0.15rem;
}

.testimonial-meta-text strong { font-size: 0.92rem; }
.testimonial-meta-text span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.success-cases {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.success-case-card h3 {
  margin: 0.35rem 0 0.45rem;
}

.success-case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.success-case-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(21, 101, 192, 0.08);
  border: 1px solid rgba(21, 101, 192, 0.18);
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  font-size: 0.78rem;
  color: #204d7f;
}

.success-case-metrics b {
  font-size: 0.84rem;
}

/* ─── GALLERY / MEDIA ─── */
.section-gallery { position: relative; }

.media-card {
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius);
}

.media-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.media-copy {
  padding: 1rem 1.2rem 1.2rem;
}

.media-copy h3 {
  margin: 0 0 0.35rem;
  color: var(--primary-dark);
}

.media-copy p {
  margin: 0;
  color: var(--text-soft);
}

.media-card:hover img { transform: scale(1.06); }

.section-media {
  background: var(--gradient-section);
}

.video-card { padding: 1rem; }

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--primary-light);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── CONTACT ─── */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 8px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
}

.contact-info-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-info-item strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-soft);
  margin-bottom: 0.15rem;
}

/* ─── BUTTONS ─── */
.btn {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.side-link:focus-visible {
  outline: 3px solid rgba(21, 101, 192, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-mid), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(21, 101, 192, 0.35);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255,255,255,0.55);
}

.btn-outline {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-text {
  background: transparent;
  color: var(--primary-dark);
}

/* ─── FORMS ─── */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.required-with-marker {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.required-marker {
  color: #D62828;
  font-weight: 800;
  line-height: 1;
}

.field-invalid {
  border-color: #d64545 !important;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.14) !important;
}

.field-error {
  display: block;
  margin-top: 0.35rem;
  color: #be2f2f;
  font-size: 0.76rem;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.full { grid-column: 1 / -1; }
.muted { color: var(--text-soft); }
.hidden { display: none !important; }

/* Public contact form refinements */
#contact .contact-form-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

#contact .container.grid-2 {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  align-items: start;
}

#contact .contact-form-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

#contact .contact-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

#contact .contact-trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.58rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1f4e81;
  background: rgba(21, 101, 192, 0.1);
  border: 1px solid rgba(21, 101, 192, 0.22);
}

#contact .form-grid {
  gap: 0.95rem;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

#contact .form-grid label {
  border: 1px solid rgba(21, 101, 192, 0.2);
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 5px 14px rgba(10, 46, 92, 0.06);
}

#contact .form-grid label:focus-within {
  border-color: rgba(21, 101, 192, 0.52);
  box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.14);
}

#contact .form-grid input,
#contact .form-grid select,
#contact .form-grid textarea {
  border: 1px solid rgba(21, 101, 192, 0.22);
  border-radius: 10px;
  background: #ffffff;
  padding: 0.75rem 0.9rem;
}

#contact .form-grid textarea {
  min-height: 130px;
  resize: vertical;
}

#contact .contact-submit-wrap {
  margin-top: -0.25rem;
}

#contact .contact-submit-wrap .muted {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
}

#contact .btn.btn-primary.full {
  justify-content: center;
  font-size: 0.95rem;
  padding-block: 0.86rem;
}

#contact .contact-submit-btn {
  border-radius: 12px;
  letter-spacing: 0.25px;
  box-shadow: 0 12px 26px rgba(13, 71, 161, 0.26);
}

#contact .contact-form-premium label span {
  font-weight: 700;
  letter-spacing: 0.1px;
}

#contact .contact-step-indicator {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

#contact .contact-step-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #2e5f95;
  background: rgba(21, 101, 192, 0.08);
  border: 1px solid rgba(21, 101, 192, 0.18);
}

#contact .contact-step-chip.active {
  color: #ffffff;
  background: linear-gradient(135deg, #1565c0, #0d47a1);
  border-color: transparent;
}

#contact .contact-step-pane {
  display: none;
}

#contact .contact-step-pane.active {
  display: block;
}

#contact .contact-step-actions {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

#contact .contact-step-actions [data-step-submit] {
  display: none;
}

#contact .contact-step-actions.is-last [data-step-next] {
  display: none;
}

#contact .contact-step-actions.is-last [data-step-submit] {
  display: inline-flex;
  justify-content: center;
}

#contact .contact-step-actions.is-first [data-step-prev] {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 1100px) {
  #contact .container.grid-2 {
    grid-template-columns: 1fr;
  }

  #contact .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

body.portal-mode .top-nav,
body.portal-mode .site-footer,
body.portal-mode .whatsapp-fab {
  display: none !important;
}

/* ─── REVEAL ANIMATION ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px) scale(0.992);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ─── PORTAL ─── */
.portal-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 1.4rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: linear-gradient(180deg, #060F1F 0%, #0B1D33 50%, #0F2847 100%);
  color: var(--white);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.5rem 1rem;
  margin-bottom: 0.3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-brand-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px;
  max-width: 32px;
  max-height: 32px;
  flex-shrink: 0;
  padding: 5px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
}

.sidebar-brand h2 {
  font-size: 1.05rem;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.sidebar-brand p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.sidebar-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.30);
  padding: 0.8rem 0.5rem 0.3rem;
  margin: 0;
}

.side-link {
  text-align: left;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: transparent;
  color: rgba(255,255,255,0.60);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
}

.side-link:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.95);
}

.side-link.active {
  background: linear-gradient(135deg, var(--primary), rgba(21,101,192,0.85));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(21,101,192,0.30);
  font-weight: 600;
}

.side-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
  opacity: 0.7;
  display: inline-block;
  vertical-align: middle;
}

.side-link svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
}

.side-link.active .side-icon { opacity: 1; }
.side-link:hover .side-icon { opacity: 1; }

.sidebar-spacer { flex: 1; }

.sidebar-logout {
  margin-top: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-theme-box {
  margin-top: 0.7rem;
  padding: 0.65rem 0.55rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-theme-title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  font-weight: 700;
}

.portal-main {
  padding: 1.8rem 2rem;
  background: #F0F4FA;
  overflow-y: auto;
}

.portal-header {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.portal-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.2rem 0 0.2rem;
}

.portal-header h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.3px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

.kpi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.kpi-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 10px;
  border-radius: 12px;
  color: var(--white);
}

.kpi-icon svg { width: 100%; height: 100%; }

.kpi-icon-warning { background: linear-gradient(135deg, #F59F00, #E67700); }
.kpi-icon-success { background: linear-gradient(135deg, #1B8E5F, #157A50); }
.kpi-icon-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.kpi-icon-teal { background: linear-gradient(135deg, #0E7490, #0C5F74); }

.kpi-data span {
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--text) 70%, #ffffff 30%);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.kpi-data b {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* Portal cards */
.p-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.p-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #F8FAFD, #F0F4FA);
}

.p-card-header-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.p-card-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 7px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.p-card-icon svg { width: 100%; height: 100%; }

.p-card-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.p-card-header p {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.p-card-body {
  padding: 1.2rem 1.4rem;
}

.p-card + .p-card { margin-top: 1rem; }

.p-card-alert {
  border-left: 4px solid var(--warning);
}

.p-card-alert .p-card-icon {
  background: linear-gradient(135deg, #F59F00, #E67700);
}

/* Portal tables */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th {
  font-weight: 700;
  color: var(--text-soft);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.7rem 0.6rem;
  border-bottom: 2px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

td {
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid #EDF2F7;
  text-align: left;
  vertical-align: middle;
  color: var(--text);
}

tbody tr { transition: background 0.15s ease; }
tbody tr:hover { background: #F5F8FC; }
tbody tr:last-child td { border-bottom: none; }

.table-wrap {
  overflow-x: auto;
  margin: 0 -1.4rem;
  padding: 0 1.4rem;
}

/* Status badges */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-pendiente { background: linear-gradient(135deg, #F59F00, #E67700); }
.status-viaje_asignado { background: linear-gradient(135deg, #1B8E5F, #157A50); }
.status-en_transito { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.status-espera_standby { background: linear-gradient(135deg, #8a5b00, #6d4800); }
.status-completada { background: linear-gradient(135deg, #0e7490, #0c5f74); }
.status-cerrada { background: linear-gradient(135deg, #334155, #1e293b); }
.status-cancelada, .status-rechazada { background: linear-gradient(135deg, #D62828, #B02020); }

.status-pretty {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  overflow: hidden;
}

.status-pretty .btn-icon {
  width: 14px;
  height: 14px;
  min-width: 14px;
}

.status-road::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.85) 0 7px, transparent 7px 12px);
  animation: roadMove 1.8s linear infinite;
}

@keyframes roadMove {
  from { background-position-x: 0; }
  to { background-position-x: 24px; }
}

/* Portal buttons */
.toolbar {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.module-filters {
  margin-bottom: 1rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(21, 101, 192, 0.2);
  background: linear-gradient(135deg, rgba(227, 240, 255, 0.7), rgba(247, 251, 255, 0.95));
  box-shadow: 0 10px 26px rgba(9, 30, 66, 0.08);
  animation: moduleFadeUp 0.35s ease both;
}

.module-filters-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.module-filters-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0d3f86;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.module-filters-title .btn-icon {
  width: 15px;
  height: 15px;
}

.module-filters-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1d4f91;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(21, 101, 192, 0.2);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}

.module-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
}

.module-filter-field {
  display: grid;
  gap: 0.26rem;
}

.module-filter-field span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #325176;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}

.module-filter-field input,
.module-filter-field select {
  border: 1px solid rgba(21, 101, 192, 0.24);
  border-radius: 10px;
  padding: 0.48rem 0.62rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.module-filter-field input:focus,
.module-filter-field select:focus {
  outline: none;
  border-color: rgba(21, 101, 192, 0.5);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}

.module-filters-actions {
  margin-top: 0.62rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem;
  align-items: center;
}

.module-filter-quick-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.filter-pill {
  border: 1px solid rgba(21, 101, 192, 0.22);
  background: #fff;
  color: #1f436f;
  border-radius: 999px;
  padding: 0.24rem 0.56rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-pill:hover {
  border-color: rgba(21, 101, 192, 0.6);
  transform: translateY(-1px);
}

.filter-pill.active {
  background: linear-gradient(135deg, #1565c0, #0d47a1);
  border-color: transparent;
  color: #fff;
}

.btn-sm {
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-sm .btn-icon { width: 14px; height: 14px; }

.btn-approve {
  background: linear-gradient(135deg, #1B8E5F, #157A50);
  color: var(--white);
  border: none;
}

.btn-approve:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-reject {
  background: linear-gradient(135deg, #D62828, #B02020);
  color: var(--white);
  border: none;
}

.btn-reject:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-action {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-action:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(21,101,192,0.04);
}

/* Portal forms */
.p-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

.p-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.field-label .btn-icon {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.p-form input, .p-form select, .p-form textarea {
  border: 1px solid #D5DDE8;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font: inherit;
  background: #FAFBFD;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.p-form input:focus, .p-form select:focus, .p-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: var(--white);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-soft);
}

.empty-state-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.8rem;
  padding: 10px;
  border-radius: 14px;
  background: #EDF2F7;
  color: #94A3B8;
}

.empty-state p {
  margin: 0;
  font-size: 0.92rem;
}

/* Timer badge */
.timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #FFF3CD;
  color: #8a5b00;
  font-size: 0.8rem;
  font-weight: 700;
}

.timer-badge svg { width: 14px; height: 14px; }

/* Quick stat in dashboard */
.dash-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.dash-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid #EDF2F7;
}

.dash-stat-row:last-child { border-bottom: none; }

.dash-stat-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.dash-stat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dash-stat-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

/* Perm badge */
/* Permission badges */
.perm-badge {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  background: #EDF2F7;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 600;
  margin: 2px;
}

/* ─── User cards ─── */
.users-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.users-hero-item {
  background: linear-gradient(135deg, #ffffff, #f3f7fc);
  border: 1px solid #dbe7f3;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 4px 18px rgba(15, 43, 74, 0.08);
}

.users-hero-item span {
  display: block;
  color: #64748b;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.users-hero-item strong {
  display: block;
  margin-top: 0.2rem;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 800;
}

.users-actions {
  margin-bottom: 0.9rem;
}

.users-action-btn {
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  border-color: #d9e5f2;
  font-weight: 600;
}

.users-action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.user-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 0.8rem;
}

.user-card {
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  border: 1px solid #d9e3ef;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.2s ease;
}

.user-card:hover {
  border-color: #b9d0e8;
  box-shadow: 0 14px 30px rgba(10, 46, 92, 0.15);
  transform: translateY(-2px);
}

.pending-card {
  border-left: 4px solid var(--warning);
  background: linear-gradient(135deg, #FFFDF5, #FFFFFF);
}

.user-card-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
}

.user-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.pending-avatar {
  background: linear-gradient(135deg, #F59F00, #E67700);
}

.user-card-info {
  flex: 1;
  min-width: 0;
}

.user-card-info h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-card-info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-card-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.user-grid-pending .user-card {
  background: linear-gradient(135deg, #fffef8, #fff);
}

.role-chip {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--role-color) 12%, transparent);
  color: var(--role-color);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border: 1px solid color-mix(in srgb, var(--role-color) 25%, transparent);
}

.user-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid #F1F5F9;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.user-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.user-card-meta svg {
  width: 14px !important;
  height: 14px !important;
  opacity: 0.5;
}

.user-card-perms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding-top: 0.5rem;
}

.perm-tag {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
  background: #EEF2FF;
  color: #4338CA;
  font-size: 0.68rem;
  font-weight: 600;
  border: 1px solid #E0E7FF;
}

.perm-tag-more {
  background: #F1F5F9;
  color: #334155;
  border-color: #E2E8F0;
}

.user-card-actions {
  display: flex;
  gap: 0.4rem;
  padding-top: 0.6rem;
  border-top: 1px solid #F1F5F9;
  margin-top: 0.5rem;
}

/* Permission fieldset */
.perm-fieldset {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1rem;
  margin: 0;
}

.perm-fieldset legend {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  padding: 0 0.4rem;
}

.perm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.4rem;
}

.perm-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
}

.perm-check:hover {
  background: #F1F5F9;
}

.perm-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  border-radius: 4px;
}

.perm-check span {
  color: var(--text);
  font-size: 0.82rem;
  display: grid;
  gap: 0.1rem;
}

.perm-check span strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
}

.perm-check span small {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.2;
}

/* Company chips */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.5rem;
}

.company-chip {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  background: #FAFBFD;
  transition: border-color 0.2s ease;
}

.company-chip:hover {
  border-color: var(--primary);
}

.company-chip strong {
  font-size: 0.9rem;
  color: var(--text);
}

.company-chip .muted {
  font-size: 0.78rem;
}

.datetime-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  padding: 0.75rem;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  background: #F8FAFC;
}

.trip-preview {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: #F8FAFC;
}

.trip-preview p {
  margin: 0.2rem 0;
  font-size: 0.86rem;
}

/* ─── MODAL ─── */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 30, 61, 0.55);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 60;
}

.modal-card {
  width: min(640px, 92%);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.4rem;
  box-shadow: 0 32px 64px rgba(7, 30, 61, 0.25);
}

.modal-card-auth {
  width: min(760px, 94%);
  border-radius: 18px;
}

.auth-modal-title-wrap {
  display: grid;
  gap: 0.25rem;
}

.auth-modal-subtitle {
  margin: 0;
  font-size: 0.84rem;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.modal-card-edit {
  width: min(1040px, 97%);
}

.modal-edit-form {
  margin-top: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}

.modal-edit-form label > span {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-edit-form label {
  min-width: 0;
}

.modal-edit-form select {
  font-size: 0.83rem;
}

.modal-edit-form option {
  font-size: 0.82rem;
}

.modal-edit-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 120;
  display: grid;
  gap: 0.6rem;
  width: min(360px, 92vw);
}

.toast {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(7, 30, 61, 0.94);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(7, 30, 61, 0.28);
  padding: 0.8rem 0.9rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success { border-left: 4px solid #22c55e; }
.toast-error { border-left: 4px solid #ef4444; }
.toast-info { border-left: 4px solid #38bdf8; }

.auth-form {
  gap: 0.8rem;
}

.auth-header-premium {
  margin-bottom: 0.8rem;
}

.auth-header-premium h3 {
  margin: 0;
  font-size: 1.02rem;
  color: var(--primary-dark);
}

.auth-header-premium .muted {
  margin: 0.28rem 0 0;
  font-size: 0.84rem;
}

.auth-pane {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.auth-register-form {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.auth-register-form .full {
  grid-column: 1 / -1;
}

.auth-login-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.9rem;
  align-items: start;
}

.auth-login-side {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fbff, #eef5ff);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
}

.auth-login-side h3 {
  margin: 0 0 0.45rem;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.auth-side-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.auth-side-pills span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(21, 101, 192, 0.2);
  background: rgba(21, 101, 192, 0.08);
  color: #1f4d81;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.auth-bullets {
  margin: 0.55rem 0 0;
  padding-left: 1rem;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.password-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  align-items: center;
}

.password-field .btn {
  white-space: nowrap;
}

.auth-help {
  margin-top: 0.8rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbff;
}

.auth-inline-note .muted {
  font-size: 0.78rem;
  display: block;
}

.tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  background: #F0F4F8;
  padding: 0.3rem;
  border-radius: var(--radius-sm);
}

.tab {
  border: none;
  border-radius: 8px;
  background: transparent;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.tab.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px var(--primary-glow);
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--gradient-dark-section);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.footer-bg-truck {
  position: absolute;
  right: -20px;
  bottom: -10px;
  width: 250px;
  height: 250px;
  opacity: 0.04;
  color: white;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.footer-brand h3 {
  margin: 0;
  font-size: 1.15rem;
}

.site-footer h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin: 0 0 0.7rem;
}

.site-footer p {
  margin: 0.3rem 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.footer-social-icon {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ─── WHATSAPP FAB ─── */
.whatsapp-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  padding: 0 1.2rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffffff;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 8px 28px rgba(18, 140, 126, 0.35);
  animation: whatsappPulse 2.5s infinite;
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 36px rgba(18, 140, 126, 0.45);
}

.whatsapp-fab-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
}

/* ─── ANIMATIONS ─── */
@keyframes pulseFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.03); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(2deg); }
  66% { transform: translateY(8px) rotate(-1deg); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(18, 140, 126, 0.35); }
  50% { box-shadow: 0 8px 28px rgba(18, 140, 126, 0.35), 0 0 0 12px rgba(37, 211, 102, 0.12); }
}

@keyframes truckDrive {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(calc(100vw + 100%)); }
}

.hero-truck-anim {
  position: absolute;
  bottom: 8%;
  left: 0;
  width: 60px;
  height: 60px;
  color: rgba(255,255,255,0.06);
  animation: truckDrive 18s linear infinite;
  pointer-events: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 920px) {
  nav { display: none; }

  nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 30, 61, 0.97);
    backdrop-filter: blur(16px);
    padding: 1rem;
    gap: 0.3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 50;
  }

  nav.nav-open a {
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
  }

  .hamburger { display: flex; }
  .nav-controls { order: 4; width: 100%; justify-content: flex-end; margin-top: 0.3rem; }
  .theme-option, .lang-option { width: 30px; height: 30px; font-size: 0.9rem; }

  .portal-layout { grid-template-columns: 1fr; }

  .sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0.8rem;
  }

  .sidebar-brand { padding: 0.3rem 0.5rem 0.5rem; margin-bottom: 0; border-bottom: none; width: 100%; }
  .sidebar-section-label { display: none; }
  .sidebar-spacer { display: none; }
  .sidebar-logout { margin-top: 0; padding-top: 0; border-top: none; }
  .sidebar-theme-box { margin-top: 0.25rem; padding: 0.4rem; }
  .sidebar-theme-title { display: none; }
  .side-link { padding: 0.45rem 0.6rem; font-size: 0.8rem; }
  .side-icon { width: 16px; height: 16px; min-width: 16px; }

  .portal-main { padding: 1rem; }
  .portal-header h1 { font-size: 1.3rem; }
  .dash-grid { grid-template-columns: 1fr; }
  .users-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .datetime-group { grid-template-columns: 1fr; }
  .wizard-step { grid-template-columns: 1fr; }
  .quality-row { grid-template-columns: 1fr; gap: 0.35rem; }

  .hero { min-height: 85vh; }

  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }

  .hero-floating-1 { width: 120px; height: 120px; }
  .hero-floating-2 { width: 80px; height: 80px; }
  .hero-floating-3 { display: none; }

  .hero-aurora-left { width: 250px; height: 250px; }
  .hero-aurora-right { width: 300px; height: 300px; }

  .section { padding: 3rem 0; }
  .section-head h2 { font-size: 1.5rem; }

  .avatar-oval { width: 95px; height: 124px; }

  .media-card img { height: 190px; }

  .whatsapp-fab {
    bottom: 0.8rem;
    right: 0.8rem;
    min-width: 3rem;
    height: 3rem;
    font-size: 0;
    padding: 0 0.8rem;
  }

  .footer-bg-truck { width: 150px; height: 150px; }
}

@media (max-width: 1320px) {
  nav a {
    font-size: 0.75rem;
    padding: 0.3rem 0.32rem;
  }

  #open-auth {
    padding: 0.52rem 0.82rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
}

/* ─── MAGNIFIC EXPERIENCE LAYER ─── */
body {
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(33, 150, 243, 0.15), transparent 70%),
    radial-gradient(900px 450px at -10% 20%, rgba(10, 46, 92, 0.16), transparent 72%),
    #f5f9ff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, rgba(245, 249, 255, 0.92) 100%);
  pointer-events: none;
}

.section,
.portal-main {
  position: relative;
}

.section::before,
.portal-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 101, 192, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 101, 192, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 90%);
}

body[data-theme="dark"] .portal-layout {
  background: linear-gradient(180deg, #071120 0%, #0d1d33 100%);
}

body[data-theme="dark"] .portal-main {
  background: #112136;
}

body[data-theme="dark"] .p-card,
body[data-theme="dark"] .kpi,
body[data-theme="dark"] .table-wrap,
body[data-theme="dark"] .card {
  background: #182a41;
  border-color: #345577;
  color: var(--text);
}

body[data-theme="dark"] .p-card-header {
  background: linear-gradient(135deg, #1a304b, #203b5b);
}

body[data-theme="dark"] .portal-header h1 {
  color: #dcecff;
}

body[data-theme="dark"] tbody tr:hover {
  background: #233d5c;
}

body[data-theme="dark"] table th,
body[data-theme="dark"] table td,
body[data-theme="dark"] .p-card-header h2,
body[data-theme="dark"] .kpi-data b,
body[data-theme="dark"] .dash-stat-value {
  color: #e6f0ff;
}

body[data-theme="dark"] .muted,
body[data-theme="dark"] .p-card-header p,
body[data-theme="dark"] .kpi-data span,
body[data-theme="dark"] .p-form label,
body[data-theme="dark"] .card p,
body[data-theme="dark"] .card li,
body[data-theme="dark"] .table-wrap tbody td {
  color: #c3d7ef;
}

body[data-theme="dark"] .top-nav {
  background: rgba(12, 27, 46, 0.96);
}

body[data-theme="dark"] .brand {
  color: #f3f8ff;
}

body[data-theme="dark"] nav a {
  color: rgba(236, 245, 255, 0.88);
}

body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .lang-toggle {
  background: rgba(22, 45, 74, 0.9);
  border-color: #4d74a0;
}

body[data-theme="dark"] .module-filters {
  background: linear-gradient(135deg, rgba(15, 36, 61, 0.95), rgba(14, 30, 50, 0.98));
  border-color: rgba(68, 125, 189, 0.45);
  box-shadow: 0 12px 28px rgba(2, 8, 18, 0.42);
}

body[data-theme="dark"] .module-filters-title {
  color: #d7e8ff;
}

body[data-theme="dark"] .module-filters-count {
  color: #c9dcfb;
  background: rgba(18, 39, 65, 0.9);
  border-color: rgba(89, 141, 205, 0.45);
}

body[data-theme="dark"] .module-filter-field span {
  color: #9ec1ec;
}

body[data-theme="dark"] .module-filter-field input,
body[data-theme="dark"] .module-filter-field select,
body[data-theme="dark"] .filter-pill {
  background: rgba(14, 30, 51, 0.96);
  color: #dfecff;
  border-color: rgba(72, 124, 186, 0.5);
}

body[data-theme="dark"] .theme-option.active,
body[data-theme="dark"] .lang-option.active {
  background: rgba(59, 130, 246, 0.35);
}

body[data-theme="dark"] .section,
body[data-theme="dark"] .section-light,
body[data-theme="dark"] .section-trusted,
body[data-theme="dark"] .section-gallery,
body[data-theme="dark"] .section-process,
body[data-theme="dark"] #about,
body[data-theme="dark"] #fleet,
body[data-theme="dark"] #news,
body[data-theme="dark"] #careers,
body[data-theme="dark"] #contact {
  background: #10243b !important;
}

body[data-theme="dark"] .section h2,
body[data-theme="dark"] .section h3,
body[data-theme="dark"] .section strong,
body[data-theme="dark"] .section-head p {
  color: #eaf2ff;
}

body[data-theme="dark"] .wave-divider path {
  fill: #10243b !important;
}

body[data-theme="dark"] .section-head p,
body[data-theme="dark"] .section p,
body[data-theme="dark"] .muted {
  color: #c8dcf3 !important;
}

body[data-theme="dark"] .section-trusted .logo-marquee {
  background: #132940;
  border-color: #3a5d84;
}

body[data-theme="dark"] .section-trusted .logo-pill {
  background: #1a3552;
  border-color: #4873a3;
  color: #e8f2ff;
}

body[data-theme="dark"] .mini-metric h3 {
  color: #9cc9ff;
}

body[data-theme="dark"] .mini-metric-icon {
  background: #1e3b5b;
  color: #8ec1ff;
}

body[data-theme="dark"] .hierarchy-card {
  background: linear-gradient(165deg, #162a41 0%, #1c3550 85%);
  border-color: #3c5f86;
}

body[data-theme="dark"] .role-badge {
  background: rgba(115, 178, 255, 0.12);
  border-color: rgba(135, 188, 255, 0.35);
  color: #d8e9ff;
}

body[data-theme="dark"] .hierarchy-card h3 {
  color: #eaf3ff;
}

body[data-theme="dark"] .photo-note {
  color: #afc8e5;
}

body[data-theme="dark"] .process-step {
  background: rgba(127, 181, 245, 0.16);
  border-color: rgba(140, 188, 245, 0.42);
  color: #d8ebff;
}

body[data-theme="dark"] input,
body[data-theme="dark"] select,
body[data-theme="dark"] textarea {
  background: #1a314c;
  color: #ecf4ff;
  border-color: #49719c;
}

body[data-theme="dark"] #contact .form-grid label {
  background: linear-gradient(180deg, rgba(18, 38, 60, 0.96), rgba(14, 31, 49, 0.96));
  border-color: #496d97;
  box-shadow: 0 6px 16px rgba(2, 9, 18, 0.3);
}

body[data-theme="dark"] #contact .contact-form-subtitle {
  color: #c7ddf6;
}

body[data-theme="dark"] #contact .contact-trust-pill {
  color: #d6e9ff;
  background: rgba(117, 176, 244, 0.16);
  border-color: rgba(133, 188, 247, 0.36);
}

body[data-theme="dark"] #contact .contact-step-chip {
  color: #d2e7ff;
  background: rgba(117, 176, 244, 0.12);
  border-color: rgba(133, 188, 247, 0.28);
}

body[data-theme="dark"] #contact .form-grid input,
body[data-theme="dark"] #contact .form-grid select,
body[data-theme="dark"] #contact .form-grid textarea {
  background: #1a314c;
  border-color: #537da8;
  color: #edf5ff;
}

body[data-theme="dark"] #contact .contact-submit-wrap .muted {
  color: #bfd6f1 !important;
}

body[data-theme="dark"] .field-error {
  color: #ffb5b5;
}

body[data-theme="dark"] .field-invalid {
  border-color: #d97878 !important;
  box-shadow: 0 0 0 3px rgba(217, 120, 120, 0.18) !important;
}

body[data-theme="dark"] input::placeholder,
body[data-theme="dark"] textarea::placeholder {
  color: #a9c0db;
}

body[data-theme="dark"] .news-tag {
  background: rgba(85, 155, 230, 0.18);
  border-color: rgba(124, 183, 245, 0.38);
  color: #ddecff;
}

body[data-theme="dark"] .news-quote {
  background: rgba(79, 141, 212, 0.16);
  border-left-color: #77b5ff;
  color: #e5f2ff;
}

body[data-theme="dark"] .news-video-wrap {
  background: #0a1728;
  border-color: #3d6188;
}

body[data-theme="dark"] .news-video-wrap video {
  background: radial-gradient(circle at center, #122941 0%, #071426 100%);
  filter: saturate(1.12) contrast(1.08) brightness(1.06);
}

body[data-theme="dark"] .news-video-wrap video.video-highlight-white {
  filter: saturate(1.16) contrast(1.1) brightness(1.14);
}

body[data-theme="dark"] .news-media img {
  background: linear-gradient(180deg, #132940, #0f2237);
  filter: saturate(1.14) contrast(1.09) brightness(1.07);
}

body[data-theme="dark"] .news-media img.news-img-truck {
  filter: saturate(1.18) contrast(1.1) brightness(1.13);
}

body[data-theme="dark"] .news-media img.news-img-brand {
  filter: saturate(1.2) contrast(1.11) brightness(1.1);
}

body[data-theme="dark"] .impact-chip,
body[data-theme="dark"] .success-case-metrics span {
  background: rgba(113, 170, 240, 0.16);
  border-color: rgba(133, 187, 247, 0.35);
  color: #dcedff;
}

body[data-theme="dark"] .btn-outline,
body[data-theme="dark"] .btn-action,
body[data-theme="dark"] .btn-text {
  background: #1b334f;
  border-color: #4a729e;
  color: #e6f1ff;
}

.p-card,
.kpi,
.media-card,
.step,
.coverage-card,
.contact-form {
  border: 1px solid rgba(21, 101, 192, 0.14) !important;
  box-shadow: 0 10px 36px rgba(7, 30, 61, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.p-card:hover,
.kpi:hover,
.media-card:hover,
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(7, 30, 61, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.btn {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 28px rgba(13, 71, 161, 0.30);
}

.btn-primary:hover {
  filter: saturate(1.08) brightness(1.03);
}

.p-form {
  gap: 0.95rem;
}

.p-form label {
  border: 1px solid rgba(21, 101, 192, 0.16);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.92));
}

.p-form label:focus-within {
  border-color: rgba(21, 101, 192, 0.48);
  box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.14);
}

.p-form input,
.p-form select,
.p-form textarea {
  border: 1px solid rgba(21, 101, 192, 0.18);
  background: #fff;
}

.p-form input:focus,
.p-form select:focus,
.p-form textarea:focus {
  border-color: rgba(21, 101, 192, 0.55);
  box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.12);
}

body[data-theme="dark"] .p-form label {
  background: linear-gradient(180deg, rgba(18, 38, 60, 0.96), rgba(15, 33, 52, 0.96));
  border-color: #466a93;
}

body[data-theme="dark"] .p-form input,
body[data-theme="dark"] .p-form select,
body[data-theme="dark"] .p-form textarea {
  background: #1a314c;
  color: #ecf4ff;
  border-color: #4f78a5;
}

.table-wrap table thead th {
  background: linear-gradient(180deg, #edf4fd 0%, #e6f0fb 100%);
}

.table-wrap table tbody tr:hover {
  background: rgba(21, 101, 192, 0.05);
}

.status {
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
}

.module-appear {
  animation: moduleFadeUp 0.55s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes moduleFadeUp {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.form-wizard {
  border: 1px solid rgba(21, 101, 192, 0.2);
  border-radius: 14px;
  padding: 0.6rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(246,250,255,0.95));
}

.wizard-step {
  display: none;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-step.active {
  display: grid;
}

.wizard-step-head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed rgba(21, 101, 192, 0.25);
  margin-bottom: 0.4rem;
  padding-bottom: 0.35rem;
}

.wizard-step-head h4 {
  margin: 0;
  color: #0d3f78;
  font-size: 0.96rem;
}

.wizard-step-head span {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.wizard-step .full {
  grid-column: 1 / -1;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
}

.quality-row {
  display: grid;
  grid-template-columns: 120px 1fr 52px;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.quality-row span {
  font-weight: 600;
  color: #0d3f78;
}

.quality-row b {
  text-align: right;
  color: #0d3f78;
}

.quality-bar {
  height: 9px;
  border-radius: 999px;
  background: rgba(21, 101, 192, 0.15);
  overflow: hidden;
}

.quality-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d4ed8, #22c55e);
}

.modal-info-body {
  display: grid;
  gap: 0.55rem;
  color: var(--text);
}

.modal-info-body strong {
  color: #0d3f78;
}

/* ─── Public careers (Trabaja con nosotros) ─── */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.careers-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.careers-card h3 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--primary-dark);
}

.careers-card .careers-meta {
    font-size: 0.86rem;
  color: var(--text-soft);
}

.careers-card .careers-req {
  font-size: 0.88rem;
  line-height: 1.45;
  flex: 1;
}

/* ─── News ─── */
.section-news {
  background: linear-gradient(180deg, #F7FBFF 0%, #EFF6FF 100%);
}

.section-process {
  background: linear-gradient(180deg, #eef5ff 0%, #e3eefb 100%);
}

.process-card {
  position: relative;
  padding-top: 2.6rem;
}

.process-step {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #3a6ea7;
  background: rgba(21, 101, 192, 0.12);
  border: 1px solid rgba(21, 101, 192, 0.2);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
}

.news-card {
  border-top: 3px solid var(--primary);
  padding-top: 1.2rem;
}

.news-feature {
  padding: 1.25rem 1.25rem 1.35rem;
}

.news-lead {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.news-video-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f2035;
  margin-bottom: 0.7rem;
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 24px rgba(9, 28, 53, 0.2);
}

.news-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: radial-gradient(circle at center, #183452 0%, #0b1e33 100%);
  filter: saturate(1.14) contrast(1.1) brightness(1.09);
}

.news-video-wrap video.video-highlight-white {
  filter: saturate(1.18) contrast(1.12) brightness(1.16);
}

.news-quote {
  margin: 0.8rem 0 0.55rem;
  padding: 0.8rem 0.95rem;
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: rgba(21, 101, 192, 0.06);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
}

.news-gallery-stack {
  display: grid;
  gap: 0.9rem;
}

.news-media {
  padding: 0;
  overflow: hidden;
}

.news-media img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
  background: linear-gradient(180deg, #e8f1fc, #dbe9f8);
  filter: saturate(1.2) contrast(1.1) brightness(1.08);
  padding: 0.3rem;
}

.news-media img.news-img-truck {
  filter: saturate(1.2) contrast(1.12) brightness(1.13);
}

.news-media img.news-img-brand {
  filter: saturate(1.22) contrast(1.12) brightness(1.1);
}

.news-impact-strip {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.impact-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(21, 101, 192, 0.22);
  background: rgba(21, 101, 192, 0.08);
  padding: 0.26rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1f4d81;
}

.news-media-copy {
  padding: 0.9rem 1rem 1rem;
}

.news-media-copy h3 {
  margin: 0.3rem 0;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.26rem 0.58rem;
  border-radius: 999px;
  background: rgba(21, 101, 192, 0.1);
  border: 1px solid rgba(21, 101, 192, 0.2);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  margin-bottom: 0.55rem;
}

/* ─── Nomina: empleado con mini foto ─── */
.emp-cell-name {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.emp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(21, 101, 192, 0.2);
}

.emp-avatar-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark));
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ─── HR dashboard enhancements ─── */
.hr-kpi-grid {
  margin-bottom: 0.9rem;
}

.hr-kpi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  box-shadow: 0 8px 20px rgba(11, 29, 51, 0.06);
  display: grid;
  gap: 0.25rem;
}

.hr-kpi-card span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.hr-kpi-card strong {
  color: var(--primary-dark);
  font-size: 1.4rem;
  line-height: 1;
}

.hr-alert-list {
  display: grid;
  gap: 0.55rem;
}

.hr-alert-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  background: #f8fbff;
  font-size: 0.9rem;
  color: var(--text);
}

.payroll-kpi-grid {
  margin-bottom: 0.95rem;
}

.payroll-kpi-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  box-shadow: 0 8px 18px rgba(11, 29, 51, 0.06);
  padding: 0.8rem 0.9rem;
  display: grid;
  gap: 0.2rem;
}

.payroll-kpi-card span {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.payroll-kpi-card strong {
  color: var(--primary-dark);
  font-size: 1.15rem;
}

/* ─── Universal module shell ─── */
.module-shell {
  display: grid;
  gap: 0.9rem;
}

.module-shell-head {
  border: 1px solid rgba(21, 101, 192, 0.22);
  border-radius: 14px;
  padding: 0.95rem 1.05rem;
  background: linear-gradient(135deg, rgba(236, 245, 255, 0.95), rgba(246, 250, 255, 0.98));
  display: grid;
  gap: 0.7rem;
}

.module-shell-kicker {
  margin: 0 0 0.32rem;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 800;
  color: #2f5f95;
}

.module-shell-head h2 {
  margin: 0;
  font-size: 1.14rem;
  color: #0d3f79;
}

.module-shell-focus {
  margin: 0.2rem 0 0;
  color: #42658f;
  font-size: 0.9rem;
}

.module-checkpoints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.module-checkpoint {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(21, 101, 192, 0.2);
  background: rgba(255, 255, 255, 0.8);
  color: #1f4f81;
  font-size: 0.75rem;
  font-weight: 700;
}

.module-recommendation {
  margin: 0;
  border: 1px dashed rgba(21, 101, 192, 0.34);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  background: rgba(21, 101, 192, 0.07);
  color: #214f80;
  font-size: 0.84rem;
}

.module-shell-body {
  display: grid;
  gap: 1rem;
}

/* ─── Hiring executive layout ─── */
.hiring-shell {
  display: grid;
  gap: 1rem;
}

.hiring-executive-strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid rgba(21, 101, 192, 0.22);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(236, 245, 255, 0.95), rgba(245, 250, 255, 0.98));
}

.hiring-executive-strip h2 {
  margin: 0;
  font-size: 1.18rem;
  color: #0d3f78;
  letter-spacing: 0.1px;
}

.hiring-strip-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: #2e5c92;
  font-weight: 800;
}

.hiring-executive-strip p {
  margin: 0;
}

.hiring-strip-metrics {
  display: grid;
  gap: 0.4rem;
  min-width: 260px;
}

.hiring-strip-metrics span {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(21, 101, 192, 0.2);
  background: rgba(255, 255, 255, 0.8);
  color: #1e4a7a;
  font-size: 0.82rem;
}

.hiring-strip-metrics strong {
  color: #0c3f7a;
}

.hiring-actions-grid .p-card,
.hiring-data-grid .p-card {
  height: 100%;
}

.hiring-actions-grid .p-card-header h2 {
  font-size: 1.02rem;
}

.hiring-data-grid {
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

/* ─── Dark Theme Hardening (public + portal) ─── */
body[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, #061223 0%, #08192c 55%, #0a1f36 100%);
  border-top: 1px solid rgba(117, 164, 219, 0.18);
}

body[data-theme="dark"] .site-footer h4 {
  color: rgba(212, 230, 253, 0.72);
}

body[data-theme="dark"] .site-footer p {
  color: rgba(223, 238, 255, 0.82);
}

body[data-theme="dark"] .footer-social a {
  background: rgba(17, 41, 67, 0.92);
  border-color: rgba(112, 157, 212, 0.35);
  color: rgba(221, 237, 255, 0.85);
}

body[data-theme="dark"] .footer-social a:hover {
  background: #2b69b3;
  border-color: #5d99df;
  color: #ffffff;
}

body[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(121, 165, 218, 0.2);
  color: rgba(205, 225, 249, 0.72);
}

body[data-theme="dark"] .users-hero-item,
body[data-theme="dark"] .users-action-btn,
body[data-theme="dark"] .user-card,
body[data-theme="dark"] .pending-card,
body[data-theme="dark"] .user-grid-pending .user-card,
body[data-theme="dark"] .module-filters,
body[data-theme="dark"] .company-chip,
body[data-theme="dark"] .datetime-group,
body[data-theme="dark"] .trip-preview,
body[data-theme="dark"] .perm-fieldset,
body[data-theme="dark"] .auth-login-side,
body[data-theme="dark"] .auth-help,
body[data-theme="dark"] .tabs,
body[data-theme="dark"] .modal-card {
  background: #162b44;
  border-color: #466b94;
}

body[data-theme="dark"] .auth-pane,
body[data-theme="dark"] .modal-card-auth {
  background: #15283f;
  border-color: #476b93;
}

body[data-theme="dark"] .auth-header-premium h3 {
  color: #e4f0ff;
}

body[data-theme="dark"] .auth-side-pills span {
  background: rgba(117, 176, 244, 0.16);
  border-color: rgba(133, 188, 247, 0.35);
  color: #d8ebff;
}

body[data-theme="dark"] .users-hero-item strong,
body[data-theme="dark"] .user-card-info h4,
body[data-theme="dark"] .company-chip strong,
body[data-theme="dark"] .perm-fieldset legend,
body[data-theme="dark"] .auth-login-side h3,
body[data-theme="dark"] .modal-info-body strong {
  color: #e8f3ff;
}

body[data-theme="dark"] .users-hero-item span,
body[data-theme="dark"] .user-card-info p,
body[data-theme="dark"] .user-card-meta,
body[data-theme="dark"] .perm-check span,
body[data-theme="dark"] .perm-check span small,
body[data-theme="dark"] .company-chip .muted,
body[data-theme="dark"] .trip-preview p,
body[data-theme="dark"] .modal-info-body {
  color: #c5dbf4;
}

body[data-theme="dark"] .user-card-meta,
body[data-theme="dark"] .user-card-actions {
  border-top-color: #3f5f84;
}

body[data-theme="dark"] .perm-tag {
  background: #2a3e63;
  border-color: #4f74a3;
  color: #dcebff;
}

body[data-theme="dark"] .perm-tag-more {
  background: #243851;
  border-color: #486b95;
  color: #cfe3fb;
}

body[data-theme="dark"] .perm-check:hover {
  background: #21364f;
}

body[data-theme="dark"] .perm-check span strong {
  color: #e6f1ff;
}

body[data-theme="dark"] .table-wrap table thead th {
  background: linear-gradient(180deg, #1a304a 0%, #223c5d 100%);
  color: #d9eaff;
  border-bottom-color: #4a6f99;
}

body[data-theme="dark"] .table-wrap table tbody tr:hover {
  background: #24415f;
}

body[data-theme="dark"] .tabs {
  background: #203852;
}

body[data-theme="dark"] .tab {
  color: #c0d8f4;
}

body[data-theme="dark"] .tab.active {
  background: #2f71bc;
  color: #ffffff;
}

body[data-theme="dark"] .p-card-header,
body[data-theme="dark"] .module-filters,
body[data-theme="dark"] .users-hero-item,
body[data-theme="dark"] .user-card,
body[data-theme="dark"] .company-chip,
body[data-theme="dark"] .modal-card {
  box-shadow: 0 12px 30px rgba(2, 10, 20, 0.38);
}

body[data-theme="dark"] .hiring-executive-strip {
  background: linear-gradient(135deg, rgba(21, 46, 74, 0.95), rgba(18, 37, 60, 0.98));
  border-color: #4d739c;
}

body[data-theme="dark"] .hiring-strip-kicker {
  color: #a9cefa;
}

body[data-theme="dark"] .hiring-executive-strip h2 {
  color: #ebf5ff;
}

body[data-theme="dark"] .hiring-strip-metrics span {
  background: rgba(20, 42, 69, 0.92);
  border-color: rgba(102, 151, 209, 0.42);
  color: #d2e7ff;
}

body[data-theme="dark"] .hiring-strip-metrics strong {
  color: #f1f7ff;
}

body[data-theme="dark"] .module-shell-head {
  background: linear-gradient(135deg, rgba(20, 44, 71, 0.95), rgba(15, 34, 56, 0.98));
  border-color: #4f749d;
}

body[data-theme="dark"] .module-shell-kicker {
  color: #a9cdf7;
}

body[data-theme="dark"] .module-shell-head h2 {
  color: #ecf5ff;
}

body[data-theme="dark"] .module-shell-focus {
  color: #bcd6f2;
}

body[data-theme="dark"] .module-checkpoint {
  background: rgba(19, 42, 67, 0.92);
  border-color: rgba(102, 152, 211, 0.43);
  color: #d8ebff;
}

body[data-theme="dark"] .module-recommendation {
  background: rgba(38, 71, 106, 0.3);
  border-color: rgba(125, 174, 233, 0.45);
  color: #d0e5ff;
}

/* Portal clarity pass: dark typography + layout consistency */
.portal-main .dash-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  align-items: start;
}

.portal-main .p-form {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  align-items: start;
}

body[data-theme="dark"] .portal-main,
body[data-theme="dark"] .portal-main p,
body[data-theme="dark"] .portal-main li,
body[data-theme="dark"] .portal-main label,
body[data-theme="dark"] .portal-main .dash-stat-label,
body[data-theme="dark"] .portal-main .empty-state p {
  color: #d2e6ff;
}

body[data-theme="dark"] .portal-main strong,
body[data-theme="dark"] .portal-main h2,
body[data-theme="dark"] .portal-main h3,
body[data-theme="dark"] .portal-main h4,
body[data-theme="dark"] .portal-main .module-filters-title,
body[data-theme="dark"] .portal-main .hr-kpi-card strong,
body[data-theme="dark"] .portal-main .payroll-kpi-card strong {
  color: #ecf5ff;
}

body[data-theme="dark"] .dash-stat-row,
body[data-theme="dark"] .user-card-meta,
body[data-theme="dark"] .user-card-actions {
  border-color: #3f6085;
}

body[data-theme="dark"] .empty-state {
  color: #bad2ef;
}

body[data-theme="dark"] .empty-state-icon {
  background: #213b59;
  color: #b8d9ff;
}

body[data-theme="dark"] .perm-badge,
body[data-theme="dark"] .role-chip {
  background: rgba(112, 171, 239, 0.14);
  border-color: rgba(135, 190, 247, 0.35);
  color: #d6e9ff;
}

body[data-theme="dark"] .hr-alert-item,
body[data-theme="dark"] .hr-kpi-card,
body[data-theme="dark"] .payroll-kpi-card {
  background: #182f49;
  border-color: #4a7099;
  color: #d9eaff;
}

body[data-theme="dark"] .hr-kpi-card span,
body[data-theme="dark"] .payroll-kpi-card span {
  color: #b8d3f1;
}

body[data-theme="dark"] .timer-badge {
  background: rgba(245, 159, 0, 0.2);
  color: #ffe5a8;
  border: 1px solid rgba(245, 159, 0, 0.4);
}

body[data-theme="dark"] .portal-main .btn-action:hover {
  border-color: #7cb6ff;
  color: #eff6ff;
  background: #264768;
}

@media (max-width: 1320px) {
  .portal-main .dash-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .hiring-strip-metrics {
    min-width: 220px;
  }
}

@media (max-width: 980px) {
  .module-shell-head {
    padding: 0.85rem 0.88rem;
  }

  .hiring-executive-strip {
    flex-direction: column;
  }

  .hiring-strip-metrics {
    min-width: 0;
    width: 100%;
  }

  .hiring-data-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .auth-login-shell {
    grid-template-columns: 1fr;
  }
}
