
/** cta-dispatch **/

.cta-dispatch {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background: var(--secondary-color);
}

.cta-dispatch__glow {
  position: absolute;
  width: 480px;
  height: 480px;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(var(--theme-color-rgb), 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.cta-dispatch__panel {
  position: relative;
  z-index: 1;
  padding: 42px 50px 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 45%),
    #2a2b31;
  overflow: hidden;
}

.cta-dispatch__accent {
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--theme-color);
}

.cta-dispatch__route {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 36px;
  padding-bottom: 18px;
}

.cta-dispatch__dot {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cta-dispatch__dot--start {
  background: var(--theme-color);
  box-shadow: 0 0 0 6px rgba(var(--theme-color-rgb), 0.18);
}

.cta-dispatch__dot--end {
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.cta-dispatch__line {
  flex: 1;
  height: 2px;
  margin: 0 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.45) 0 10px,
    transparent 10px 18px
  );
  animation: cta-route-dash 1.4s linear infinite;
}

.cta-dispatch__stops {
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.cta-dispatch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px 36px;
  align-items: stretch;
}

.cta-dispatch__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.cta-dispatch__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--theme-color);
}

.cta-dispatch__copy h2 {
  margin-bottom: 14px;
  font-size: 40px;
  line-height: 1.2;
  color: #fff;
  max-width: none;
}

.cta-dispatch__copy p {
  margin-bottom: 26px;
  max-width: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.cta-dispatch__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.cta-dispatch__call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cta-dispatch__call i {
  color: var(--theme-color);
}

.cta-dispatch__call:hover {
  color: var(--theme-color);
}

.cta-dispatch__phone {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 170px;
  padding: 30px 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  text-align: left;
}

.cta-dispatch__phone-label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.cta-dispatch__phone a {
  display: block;
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.cta-dispatch__phone a:hover {
  color: var(--theme-color);
}

.cta-dispatch__phone p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

@keyframes cta-route-dash {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 36px 0;
  }
}


/** responsive **/

@media only screen and (max-width: 991px) {
  .cta-dispatch__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-dispatch__phone {
    min-height: 0;
  }

  .cta-dispatch__copy h2 {
    font-size: 32px;
  }
}

@media only screen and (max-width: 767px) {
  .cta-dispatch {
    padding: 60px 0;
  }

  .cta-dispatch__panel {
    padding: 32px 22px 36px;
  }

  .cta-dispatch__copy h2 {
    font-size: 26px;
  }

  .cta-dispatch__phone a {
    font-size: 22px;
  }
}
