:root {
  --steel: #0f172a;
  --ink: #111827;
  --line: #d7dde8;
  --blue: #991b1b;
  --red: #991b1b;
  --red-bright: #dc2626;
  --charcoal: #080b0f;
  --gold: #f59e0b;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background-color 180ms ease, color 180ms ease;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  min-width: 4.5rem;
  padding: 0.75rem 0.95rem;
  text-transform: uppercase;
}

.theme-toggle:hover {
  background: rgba(220, 38, 38, 0.85);
  border-color: rgba(255, 255, 255, 0.55);
}

.nav-link {
  color: #fee2e2;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

.section-kicker {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.industrial-shadow {
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 12, 28, 0.9), rgba(5, 12, 28, 0.62), rgba(5, 12, 28, 0.25)),
    linear-gradient(0deg, rgba(5, 12, 28, 0.2), rgba(5, 12, 28, 0.2));
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(5, 12, 28, 0.92), rgba(5, 12, 28, 0.62)),
    url("./images/heavyMachinery.svg") center/cover no-repeat;
}

.card-hover {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card-hover:hover {
  border-color: rgba(153, 27, 27, 0.42);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
  transform: translateY(-3px);
}

.map-dot {
  cursor: pointer;
  fill: #0b7cff;
  stroke: white;
  stroke-width: 2.4;
  filter: drop-shadow(0 2px 5px rgba(11, 99, 206, 0.45));
}

.map-dot:focus,
.map-dot:hover {
  fill: #38bdf8;
  outline: none;
}

.map-land {
  fill: #c9d4e5;
  stroke: #ffffff;
  stroke-width: 0.6;
}

.footer-link:hover {
  color: #fca5a5;
}

.form-field {
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  padding: 0.85rem 1rem;
  width: 100%;
}

.form-field:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(153, 27, 27, 0.16);
  outline: none;
}

.map-client-button {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
  width: 100%;
}

.map-client-button strong {
  color: #111827;
  font-size: 0.92rem;
}

.map-client-button span {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.map-client-button:hover,
.map-client-button.active {
  background-color: #991b1b;
  border-color: #991b1b;
}

.map-client-button:hover strong,
.map-client-button:hover span,
.map-client-button.active strong,
.map-client-button.active span {
  color: #ffffff;
}

.bg-blue-600 {
  background-color: var(--red) !important;
}

.hover\:bg-blue-700:hover {
  background-color: #7f1d1d !important;
}

.text-blue-700 {
  color: var(--red) !important;
}

.border-blue-600 {
  border-color: var(--red) !important;
}

.bg-blue-50 {
  background-color: #fff1f2 !important;
}

.border-blue-200 {
  border-color: #fecdd3 !important;
}

.text-blue-950 {
  color: #450a0a !important;
}

body:not(.theme-dark) header.bg-slate-950\/95 {
  background-color: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

body:not(.theme-dark) header .text-white {
  color: #111827 !important;
}

body:not(.theme-dark) header .nav-link {
  color: #374151;
}

body:not(.theme-dark) header .nav-link:hover,
body:not(.theme-dark) header .nav-link.active {
  color: var(--red);
}

body:not(.theme-dark) header [data-menu-button] {
  border-color: #d1d5db !important;
  color: #111827 !important;
}

body:not(.theme-dark) header [data-mobile-menu] {
  border-top-color: #e5e7eb !important;
  background-color: rgba(255, 255, 255, 0.98);
}

body:not(.theme-dark) .theme-toggle {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

body:not(.theme-dark) .theme-toggle:hover {
  background: var(--red);
  border-color: var(--red);
}

body:not(.theme-dark) footer.bg-slate-900 {
  background-color: #f8fafc !important;
  border-top: 1px solid #e5e7eb;
  color: #475569 !important;
}

body:not(.theme-dark) footer .text-white {
  color: #111827 !important;
}

body:not(.theme-dark) footer .border-white\/10 {
  border-color: #e5e7eb !important;
}

body:not(.theme-dark) footer .footer-link:hover {
  color: var(--red);
}

body.theme-dark .bg-slate-950\/95,
body.theme-dark .bg-slate-950,
body.theme-dark .bg-slate-900 {
  background-color: var(--charcoal) !important;
}

body.theme-dark {
  background-color: #07090d;
  color: #e5e7eb;
}

body.theme-dark .bg-white,
body.theme-dark .bg-slate-50,
body.theme-dark .bg-slate-100 {
  background-color: #10141b !important;
}

body.theme-dark .bg-slate-900,
body.theme-dark .bg-slate-950,
body.theme-dark .bg-slate-950\/95 {
  background-color: #030507 !important;
}

body.theme-dark .text-slate-950,
body.theme-dark .text-slate-900,
body.theme-dark .text-slate-700,
body.theme-dark .text-slate-600 {
  color: #e5e7eb !important;
}

body.theme-dark .text-slate-500 {
  color: #cbd5e1 !important;
}

body.theme-dark .border-slate-200,
body.theme-dark .border-slate-300 {
  border-color: #2b3442 !important;
}

body.theme-dark .card-hover,
body.theme-dark .rounded.bg-white,
body.theme-dark article,
body.theme-dark form,
body.theme-dark .form-field {
  background-color: #111827 !important;
}

body.theme-dark .form-field {
  color: #f8fafc;
}

body.theme-dark .form-field::placeholder {
  color: #94a3b8;
}

body.theme-dark .industrial-shadow {
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

body.theme-dark [data-map-wrap] {
  background-color: #111827 !important;
  border-color: #2b3442 !important;
}

body.theme-dark .map-client-button {
  background-color: #111827;
  border-color: #2b3442;
}

body.theme-dark .map-client-button strong {
  color: #f8fafc;
}

body.theme-dark .map-client-button span {
  color: #cbd5e1;
}

body.theme-dark .map-client-button:hover,
body.theme-dark .map-client-button.active {
  background-color: #991b1b;
  border-color: #991b1b;
}

@media (max-width: 767px) {
  .mobile-menu {
    display: none;
  }

  .mobile-menu.open {
    display: grid;
  }
}
