/* ==========================================================================
   EQUIPRENTINDEX.COM — Heavy Industrial Telemetry Design System (2026)
   Theme: Precision Industrial / Heavy Armor Telemetry
   ========================================================================== */

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

:root {
  /* Industrial Color Palette (Dark Default) */
  --bg-base: #070a0f;
  --bg-surface: #0d121c;
  --bg-surface-elevated: #131b29;
  --bg-surface-hover: #192437;
  --bg-card: rgba(13, 18, 28, 0.85);

  /* Primary Brand & Accents */
  --amber-primary: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.22);
  --amber-hover: #d97706;
  --amber-subtle: rgba(245, 158, 11, 0.12);

  --cyan-telemetry: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.2);
  --cyan-subtle: rgba(6, 182, 212, 0.12);

  --emerald-safe: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.2);
  --emerald-subtle: rgba(16, 185, 129, 0.12);

  --rose-heavy: #f43f5e;
  --rose-subtle: rgba(244, 63, 94, 0.14);

  /* Borders & Highlights */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-amber: rgba(245, 158, 11, 0.4);
  --border-cyan: rgba(6, 182, 212, 0.35);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #070a0f;

  /* Fonts */
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-amber: 0 0 25px rgba(245, 158, 11, 0.2);
  --shadow-cyan: 0 0 25px rgba(6, 182, 212, 0.2);

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

[data-theme="light"] {
  --bg-base: #f1f4f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #e8ecf4;
  --bg-surface-hover: #dde3ee;
  --bg-card: rgba(255, 255, 255, 0.95);

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.16);

  --text-primary: #0a0e17;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
}

/* ==========================================================================
   Base & Blueprint Micro-Grid Background
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

/* ==========================================================================
   Header & Industrial Status Bar (Ultra-Clean & Distinct UX)
   ========================================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="light"] header {
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
  position: relative;
  overflow: hidden;
}

.brand-emblem::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--amber-primary);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-title span {
  color: var(--amber-primary);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--amber-primary);
}

/* Nav Actions & Theme Toggle (Generous Spacing & Visual Divider) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 18px;
  padding-left: 22px;
  border-left: 1px solid var(--border-medium);
  flex-shrink: 0;
}

.theme-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 17px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.theme-btn:hover {
  border-color: var(--amber-primary);
  background: var(--bg-surface-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 12px var(--amber-glow);
}

/* Responsive Header */
@media (max-width: 1040px) {
  .nav-links {
    gap: 14px;
  }
  .nav-link {
    font-size: 12.5px;
  }
}

@media (max-width: 880px) {
  .header-inner {
    height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
  }
  
  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding: 8px 0 2px;
    gap: 12px;
    border-top: 1px solid var(--border-subtle);
    -webkit-overflow-scrolling: touch;
  }

  .nav-link {
    background: var(--bg-surface-elevated);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    border: 1px solid var(--border-subtle);
  }

  .nav-actions {
    margin-left: auto;
    padding-left: 12px;
    border-left: none;
  }
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #000000;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-ghost {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  border-color: var(--amber-primary);
  color: var(--amber-primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   Badges & Telemetry Tags
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-amber {
  background: var(--amber-subtle);
  color: var(--amber-primary);
  border: 1px solid var(--border-amber);
}

.badge-cyan {
  background: var(--cyan-subtle);
  color: var(--cyan-telemetry);
  border: 1px solid var(--border-cyan);
}

.badge-green {
  background: var(--emerald-subtle);
  color: var(--emerald-safe);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-red {
  background: var(--rose-subtle);
  color: var(--rose-heavy);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

/* ==========================================================================
   Hero Section & Live Benchmark Ticker
   ========================================================================== */

.hero-section {
  padding: 48px 0 32px;
  position: relative;
}

.hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 32px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-primary);
  margin-bottom: 16px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--amber-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--amber-primary);
  animation: pulseAnim 1.8s infinite;
}

@keyframes pulseAnim {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
  }
}

.hero-title .highlight-amber {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight-cyan {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 740px;
  margin: 0 auto;
}

/* ==========================================================================
   Interactive Heavy Equipment Estimator Rig (Live Multi-Slider)
   ========================================================================== */

.estimator-rig-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .estimator-rig-container {
    padding: 20px 16px;
  }
}

.estimator-rig-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b 0%, #06b6d4 50%, #10b981 100%);
}

.rig-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
}

@media (max-width: 980px) {
  .rig-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.rig-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.control-label .val-display {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--amber-primary);
}

.rig-select, .rig-input {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.15s ease;
  outline: none;
}

.rig-select:focus, .rig-input:focus {
  border-color: var(--amber-primary);
  box-shadow: 0 0 12px var(--amber-glow);
}

/* Custom Styled Range Sliders */
.rig-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  outline: none;
  border: 1px solid var(--border-subtle);
}

.rig-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber-primary);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
  transition: transform 0.1s ease;
}

.rig-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-toggle {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  transition: .3s;
}

.slider-toggle:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  border-radius: 50%;
  transition: .3s;
}

input:checked + .slider-toggle {
  background-color: var(--amber-primary);
  border-color: var(--amber-primary);
}

input:checked + .slider-toggle:before {
  transform: translateX(20px);
  background-color: #000000;
}

/* Telemetry Output HUD */
.rig-telemetry-hud {
  background: linear-gradient(180deg, #0b1019 0%, #06090e 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

[data-theme="light"] .rig-telemetry-hud {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.hud-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hud-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
}

.hud-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.hud-row strong {
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.hud-total-box {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-medium);
}

.hud-grand-total {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 800;
  color: var(--amber-primary);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Master Equipment Fleet Matrix & Cards
   ========================================================================== */

.filter-deck-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 32px;
}

@media (max-width: 640px) {
  .filter-deck-container {
    padding: 16px;
  }
}

.category-tabs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.cat-tab-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  color: inherit;
}

.cat-tab-btn:hover {
  border-color: var(--amber-primary);
  transform: translateY(-2px);
}

.cat-tab-btn.active {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--amber-primary);
  box-shadow: 0 0 15px var(--amber-glow);
}

.cat-tab-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.cat-tab-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Search and Select Deck Row */
.filter-search-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 14px;
  align-items: center;
}

@media (max-width: 900px) {
  .filter-search-row {
    grid-template-columns: 1fr;
  }
}

/* Equipment Fleet Cards Grid */
.equipment-fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 480px) {
  .equipment-fleet-grid {
    grid-template-columns: 1fr;
  }
}

.fleet-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.fleet-card:hover {
  border-color: var(--amber-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--amber-glow);
}

.fleet-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 10px;
}

.fleet-card-title {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}

.fleet-card-category {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.fleet-rates-deck {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 16px;
}

.rate-box {
  text-align: center;
}

.rate-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.rate-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2px;
}

.fleet-specs-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 4px;
}

.spec-item strong {
  font-family: var(--font-mono);
  color: var(--cyan-telemetry);
}

.fleet-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  font-size: 13px;
}

/* ==========================================================================
   State Compliance Radar & Permits
   ========================================================================== */

.compliance-radar-box {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(13, 18, 28, 0.95) 100%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 48px;
}

@media (max-width: 640px) {
  .compliance-radar-box {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   Modals & Popups
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

@media (max-width: 640px) {
  .modal-box {
    padding: 24px 16px;
  }
}

.modal-close-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  position: absolute;
  top: 18px;
  right: 18px;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  background: var(--rose-subtle);
  color: var(--rose-heavy);
  border-color: var(--rose-heavy);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: #05070a;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 24px;
  font-size: 13px;
  color: var(--text-secondary);
}

[data-theme="light"] footer {
  background: #e2e8f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 36px;
}

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

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
